Finite-state machines for execution
How to model strategy execution and the order lifecycle with finite-state machines in Python, with tests.
The Knight Capital disaster was a state failure. How to model strategy execution and the order lifecycle with finite-state machines in Python: guards, kill switch, cooldown, transition testing, and the bridge to LangGraph.