Building Scalpel

Notes from building a trading cockpit on the Interactive Brokers API: what the TWS API can do, how Level 2 and the scanner work through it, and the design decisions behind Scalpel.