Notes
Trading agents
Futures agent, on-chain agent and the research bench.
-
The stop order that rounded to zero
A rounding function turned a stop price into 0, my own monitor cancelled a working stop-loss, and a position sat unprotected for a night. What went wrong in plain code, and what changed.
-
Why the risk limits don’t live in the prompt
My futures agent decides on its own what to trade. How much it can lose is enforced by a gateway it cannot change. What the gateway checks, and why it refuses orders instead of repairing them.