Quant BuffetRelax, Not Over Thinking

Lesson 4 · 16 min

Microstructure & trading infrastructure

Exchanges, brokers, spreads, and how research simulation differs from live trading.

VenuesBrokersCosts

Market microstructure is the mechanics of how orders become trades — queues, spreads, and latency. You do not need to build a exchange to learn quant trading, but you must know where simulation ends and real infrastructure begins.

Quant platform

  • Quant Buffet backtest lab
  • QuantConnect / LEAN (library code)
  • Python + pandas locally

Research layer: signals, backtests, and strategy articles.

ConceptPlain English
Bid–ask spreadGap between best buy and sell price — hidden cost when you trade.
SlippageFill price worse than expected; Quant Buffet models 2 bps per side.
LatencyDelay from signal to fill; matters for HFT, less for monthly ETF rotation.
Partial fillOrder only partly executed — engine scales buys if cash is insufficient.

Research stack vs live stack

LayerBacktest labLive trading
Signal timeDaily closeIntraday or daily — your choice
Execution priceClose + 2 bps slippage modelBid/ask at broker
Commission5 bps per fillBroker fee schedule
CapitalVirtual $100,000Real cash & margin
Failure modePython exceptionRejected order, partial fill, outage

Infrastructure checklist for live trading

  1. Broker account — e.g. Interactive Brokers for ETFs, crypto exchange for BTC.
  2. Market data subscription — free delayed vs paid real-time.
  3. Order routing — desktop, API, or platform like QuantConnect.
  4. Risk limits — max position size, max daily loss, kill switch.
  5. Logging & reconciliation — compare fills to what your model expected.