Skip to content

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

  1. Verify all positions closed
  2. Check account balance
  3. Review triggering event
  4. Document in incident log
  5. Root cause analysis

Connection Lost

  1. Check broker/exchange status
  2. Verify account status manually
  3. Close positions if needed
  4. Reconnect and validate

Unexpected Loss

  1. Activate kill switch
  2. Document all open positions
  3. Review trade log
  4. Contact support if needed

P2: Major Issues

Signal Mismatch

  1. Compare Pine vs paper fills
  2. Check for data issues
  3. Review indicator settings
  4. Adjust if needed

Excessive Slippage

  1. Review execution logs
  2. Check market conditions
  3. Adjust position sizing
  4. 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]