Project name: Trade the Bots, Not the Textbook

Inspiration We began with classic market making and found it barely broke even. So we changed the question to: who in this market is losing money, and why?

What it does A Python trading bot for the Optibook exchange that runs two independent strategies in one process:

  • a fast one that reacts to sudden price moves across related stocks
  • a slower one that bets on large moves partly reversing

It has hard risk limits, pauses after exchange resets, and runs its position down to zero before the session ends.

How we built it

  • Analysed the exchange's trade data to understand how the other market participants behave.
  • Built a backtesting "arena" that replays our recorded market data and compares strategy variants in 30-minute windows matching the final format.
  • Checked every change against live trading; the backtest stayed within single-digit percent of live results.

Challenges

  • Exchange resets, latency, empty order books that faked price signals, and other teams' quotes set as traps.
  • Keeping the backtest honest instead of optimistic.

Accomplishments

  • Took our live profit rate from near zero to a steady positive rate in one night.
  • Every number in our presentation was measured live or replayed on recorded data.

What we learned Measuring who loses money beats theory, and once you've found an edge, speed and size decide how much of it you capture.

What's next Modelling competition with other teams for the same trades, and sizing positions according to how much is available to trade.

Built with: Python, Optibook client, pandas, NumPy

Built With

Share this project:

Updates

Submission history