Work / Automated trading infrastructure
Naxfront Systems
Automated multi-broker futures trading infrastructure. Real-time execution, risk management modelled on funded account rules, and a no look-ahead simulator, built to run unattended.

- Core
- Python 3.11, asyncio, C# NinjaTrader add-on
- API
- FastAPI, JWT, rate limited
- Messaging
- ZeroMQ across two servers
- Brokers
- NinjaTrader, MT5, Interactive Brokers, Tradovate
- Data
- Databento, Twelve Data, Parquet cache
- Ops
- systemd, Nginx, Telegram alerts
The constraint
Money moves on every signal, unattended, across brokers that each speak a different protocol. The system has to keep executing when a feed drops, a broker disconnects or a server restarts, and it has to refuse to trade the moment a risk rule says so, with no person in the loop to catch it.
What most people would have built
A script that calls one broker’s API from one machine, with risk checks added after the first bad day. It works until the first reconnect, and it can never be trusted to run overnight.
Two nodes, one bridge interface
Orchestration, the data feed, the dashboard and the database live on one server. Broker execution lives on another. They talk over ZeroMQ on a private network, so strategy logic and order placement are cleanly separated. Four brokers sit behind one order manager interface, so a new broker is a new bridge and nothing else changes.

Twelve checks before anything reaches a broker
Daily loss, drawdown, trades per day, open positions, session windows, direction filters, minimum reward to risk, entry sanity, event blackout and profit cap gates. Above them sits a governor modelled on funded account rules. A signal that fails any check is logged with the reason and never sent.

Watching it run
Per account risk, drawdown against the cap, open positions, and a one click flatten and pause. Every order, rejection and alert is written to the log with its reason, and alerts reach a phone over Telegram.

Recovering from a restart
A reconciler rebuilds live state from the broker and the database after any restart, so the system comes back knowing what it holds rather than assuming. Live trading sits behind a two factor lock so a real order cannot fire by accident.
A simulator that cannot cheat
A single clock owns time. Strategies are handed a read-only buffer of past bars, so future data is structurally unreachable rather than merely discouraged. Fills resolve on the true one second price sequence with latency and slippage modelled, and differential checks assert that the simulator and the live engine agree bar for bar.
What broke, and what we would change
An earlier batch backtester carried a look-ahead bias that inflated results, and the only reliable fix was to make the bias impossible by construction. The simulator is the product. Everything else in the system exists to keep an honest edge deployable and survivable. We wrote up the bug in look-ahead bias: how a backtest lies to you.
Naxfront Systems is at the demo and simulation stage. We publish no performance figures for it. Naxfront Ltd builds software and does not give investment advice.
This project sits under Trading systems. See all the work.