The architecture
BillionArch is named for its architecture. This is the whole system, layer by layer, as it runs today: where the data comes from, how a strategy becomes orders, and what stands between an order and the exchange.
Five layers
Each layer depends only on the ones below it, and a contract checked on every change keeps it that way. Select a layer to read what it does.
Data
Market history comes from Binance's public archive and is kept as Parquet files, read through DuckDB. Every bar is stamped at its close, so nothing acts on a candle that has not finished.
- Symbols in the research store
- 101
Research
Backtests run the same strategy code on NautilusTrader that the engine trades, with fees, funding, slippage and latency modelled. Funding is charged by our own module, checked against real Binance settlements, and every result is split into price, fees and funding.
Engine
NautilusTrader runs the daily book. At the daily close it sets each leg's target, and the orders leave through one queue at a fixed pace.
- Legs in the daily book
- 27
- Daily rebalance
- 00:00 UTC
- Orders per second
- 5
Risk
Every order passes a gate before it reaches the exchange: book limits, the prop-firm guard, and a safety governor that can halt new entries or close everything. A kill switch, reconciliation with the exchange and tested recovery sit behind it.
- Recovery drills passed
- 3
Venue
The book trades on a Bybit demo account and on a paper venue that simulates fills. Orders the engine cannot settle are checked against Bybit's own record, and funding is read from Bybit's transaction log.
- Demo run started
- 2 October 2026
- Largest daily gap between wallet and ledger
- 0.00 USDT
FIG. 1 The platform's layers, as they run today.
Drawing register
Five sheets, each a short article on one part of the system.
| Sheet | Title | Subject |
|---|---|---|
| A-01 | Data | Where the market history comes from, how it is checked and stored, and how a bar becomes something the engine may act on. |
| A-02 | Engine | How a daily target becomes orders, how those orders are paced and checked against the exchange, and how funding and results are accounted for. |
| A-03 | Safety | What stands between a strategy and the exchange, what each limit does when it is reached, and what happens when the engine restarts. |
| A-04 | Operations | How the platform runs on one modest server: its services and their limits, the pipeline from a push to a running engine, backups, and timers. |
| A-05 | Testing | What the platform's tests check, how strict they are, the golden backtest, and the recovery drills on the Bybit demo account. |
Built on open source
The platform is built on open-source software. These are its main parts, and the licence each is used under.
- NautilusTraderBacktest and trading engineLGPL-3.0-or-later
- DuckDBReads the market data storeMIT
- Apache Arrow (PyArrow)The store's Parquet filesApache-2.0
- pandasResearch tablesBSD-3-Clause
- PostgreSQLEvent log, job queue and control tablesPostgreSQL
- SQLAlchemy and AlembicDatabase access and schema migrationsMIT
- FastAPIThe platform's APIMIT
- CaddyHTTPS in front of the API and dashboardApache-2.0
- Next.js and ReactThe dashboardMIT
- Lightweight ChartsThe dashboard's price chartsApache-2.0