Notes from building trading systems and market infrastructure: what worked, what broke, and what I'd do differently.