The Contract Roll State Machine in Elixir (GenServer)
The previous post explained why contract expiry is a problem worth solving. This one is the machine that solves it: four states, three triggers, one
2 posts
The previous post explained why contract expiry is a problem worth solving. This one is the machine that solves it: four states, three triggers, one
One GenServer holds open positions, pending orders, strategy state, portfolio risk, and contract rolls — for a system trading real capital. This post is a tour