Overview
Syllabus
Intro / Overview
Orderbook watcher demo, what we’re building
TUI version with keyboard shortcuts
Super Bowl prop bet order book observations
Getting and setting up Kalshi API key
Installing python dependencies
A simple unauthenticated websocket
How to authenticate the websocket connection
Subscribing to websocket channels
The structure of the subscribe message
What happens when you subscribe
Order book snapshots vs order book deltas
OrderBook class for storing local state of order book
Streaming the raw OrderBook dictionaries
Processing and displaying the OrderBook data
What’s next, what now
Taught by
Part Time Larry