- Risk-gatedExecution
- Same gatesPaper mode
- Server-sideCredentials
The problem
Condition-based buy and sell strategies on a retail broker API fail when evaluation, credentials, and order placement are fused into one script with no place to say no.
What we shipped
Strategy Algo engine: a strategy builder with multi-condition rules, a separate trading engine with risk gates, live portfolio and order tracking, and paper mode that runs the same gates as live.
How we approached it
Conditions are evaluated as pure checks over a market snapshot. A separate executor runs every true verdict through position caps, a daily loss limit, and a kill switch before it places an order. Broker credentials stay server-side with token, key-and-secret, and TOTP flows, and metrics feed Grafana dashboards.
