Incident Response¶
Procedures when things go wrong.
Severity Levels¶
| Level | Description | Response Time |
|---|---|---|
| P1 | Complete system failure | Immediate |
| P2 | Major functionality impaired | < 1 hour |
| P3 | Minor issue, workaround exists | < 24 hours |
| P4 | Cosmetic or enhancement | Next sprint |
P1: Critical Incidents¶
Kill Switch Triggered¶
- Verify all positions closed
- Check account balance
- Review triggering event
- Document in incident log
- Root cause analysis
Connection Lost¶
- Check broker/exchange status
- Verify account status manually
- Close positions if needed
- Reconnect and validate
Unexpected Loss¶
- Activate kill switch
- Document all open positions
- Review trade log
- Contact support if needed
P2: Major Issues¶
Signal Mismatch¶
- Compare Pine vs paper fills
- Check for data issues
- Review indicator settings
- Adjust if needed
Excessive Slippage¶
- Review execution logs
- Check market conditions
- Adjust position sizing
- Consider different session
Incident Log¶
Document every incident:
## Incident: [Date] [Severity]
**Summary:** Brief description
**Impact:** What was affected
**Timeline:** When discovered, actions taken
**Root Cause:** Why it happened
**Resolution:** How it was fixed
**Prevention:** Steps to prevent recurrence
Contacts¶
| Role | Contact |
|---|---|
| Primary | [Your contact] |
| Backup | [Backup contact] |
| Broker | [Broker support] |