Paid DailyPDPaid Daily
Open the desk
QuantInsti Quantitative Learning

The Trading Bug That Never Threw an Error | Quant Developer’s Day

NowPress play to follow along0:00 / 4:00
Chapters6 segments · tap to seek
ticker lesson

Breakdown

0:00lesson

Order entry error caught by code

  • Someone typed 5,000 instead of 50
  • Code blocked invalid order
  • Rewind to 8:00 a.m
0:20lesson

System fix before market open

  • One server still on old code
  • Fixed before open
  • Trader wants fix after close
1:00lesson

Slipped decimal and old price data

  • Slipped decimal blocked
  • Price 9 seconds old
  • Feed frozen but still connected
2:00lesson

Code fix for feed silence

  • Code only reconnects on error
  • Silence isn't an error
  • Fix: reconnect if feed quiet for 2 seconds
3:00lesson

Test and deployment of fix

  • Tested on yesterday's data
  • 9 seconds became 2
  • Shipped after close
  • Nothing broke today
4:00lesson

Wrap-up and next steps

  • That's the job
  • Whose day should we cover next?
  • Tell me in the comments

Informational only — this is QuantInsti Quantitative Learning’s content, decoded by Plutus. Not Paid Daily’s advice or a recommendation. The outline, timestamps, and claims are extracted from what the creator said; verify before acting.