Operator a browser, signed in Scheduler check, daily report Agents tools over HTTP, never orders ●  CONTROL PLANE Page Trading and Research Server one API for the page and agents; no trading state Strategies write, build, install Research experiments, versions Trading gRPC, the day Tools 61, for the page and agents Ledger trials, results, versions Workers all backtests jobs strategy/ demo, research, paper, live writes, builds THE CUT control plane above, core below gRPC (live) CLI (backtest, research) libraries C ABI, isolated ●  CORE Engine one code path, two assemblies, research tools on its day reading; adapters plug into its ports Event loop one writer; fills never dropped quotes timer Strategies libraries; their hedges Portfolios chains, IV, Greeks, smiles read orders, hedges Risk limits, the halt fills marks holding, fills Bookkeeping orders, fills, holdings per strategy; vs broker A timer tick: settle expired options → close what settles in shares → strategies → marks → hedges. market data venue storage ●  ADAPTERS Market data IB live, a simulated market Broker gateway IB, backtest, simulated SQLite orders and fills, replayed fills ●  QUANT quant pricing, IV, Greeks, SVI smiles, MC, PDE, Heston quant/analytics workflows, synthetic days IV, Greeks, pricing

Scroll sideways for the whole diagram.

Interactive Brokers IB Gateway: quotes stream in, orders out, fills back SQLite orders and fills, replayed on restart Server the day's steps, the operator quotes orders, fills saved gRPC ●  ADAPTERS Market-data thread a batch of quotes, priced at once Order thread orders out; fills, updates in Database thread orders and fills, in batches gRPC threads a command, run on the event thread priced snapshots orders out, fills in to save run, answered ●  CORE: THE ENGINE Event thread the only writer of trading state: one event after another, no locks, never waits applied booked Portfolios the snapshot taken over, not copied Strategies on each snapshot and tick: decide Risk every order checked Bookkeeping orders, fills, holdings, P&L read orders sent fills, the holding The day, New York time: at 8:45 the day's contracts are rolled in; at the close expired options settle and working orders are cancelled; on connect the holdings are checked against the broker's account. p50 on a shared laptop, broker stand-in: a tick to a decision 15 µs, to the fill back at the strategy 50 µs (18 October). ●  QUANT quant IV and Greeks for what moved; smiles once a minute; on a thread pool pricing

Scroll sideways for the whole diagram.

●  DATA, THREE TIERS Downloads as delivered; read only to convert Backtest days a Parquet file a day, a row group an expiry Day cache a day's contracts; each chain priced, as read converted first read Nothing is lost on the way: each tier reads back bit for bit. SPY, 2,697 days from 2016: 47 GB delivered, 30 GB of days; a day's 0DTE chain cached, 3.7 MB. mapped, not copied ●  CORE entry_backtest, a batch many trials over the same days: each day read and priced once for all of them Day loader days ahead; chains as they are asked for A day its listing built once; a block a chain Thread groups the trials shared out over the cores ahead shared Replay a day rolled in once; a minute copied in Engines one a trial: the live code, the same order Results days and round trips, a column each a minute a line a trial Backtest venue fills at the next bar, at its costs entry_research, beside it screens on the same days orders, fills SPY, 200 days from the cache, on this laptop: 1 trial 0.5 s, 512 trials 7.5 s (19 October). ●  QUANT Pricing IV once a minute; Greeks when asked Greeks ●  CONTROL PLANE Jobs queued; the same days run as one batch Workers run each batch, memory capped Ledger a row a trial, as the engine wrote it a batch lines The sums, once net, Sharpe, drawdown: page, research, agents summed in one place

Scroll sideways for the whole diagram.

Agent tools only, never orders Research factory four roles, scheduled, capped Demotion automatic, off its forecast ●  CONTROL PLANE Strategy card hypothesis, family budget Write one .cpp, built alone Experiment settings, days, costs, fills Ledger registered before it runs Paper, pilot, live the person approves each Replay the trial again: why it lost Version frozen setting, code, card Review DSR, PBO, 300 trades, robust Holdout report once a version, by the system the next idea passes ●  CORE Control random buying, same days Batch engine a day priced once, cached jobs, results ●  DATA Holdout days SPY 2026-04, SPXW 2025-07 on Downloads checked, one format Research days 2016-01 to each holdout the sealed days ●  QUANT DSR luck of N tries removed: > 0.95 PBO best in sample, out? < 0.2 Walk-forward pick on 1/3, trade the next 1/6 Against the control R a trade above random Describe screens, fills: entry_research More than luck? and with costs ×2, parameters ±20%, late fills Exam noise fails, an edge passes Dealer gamma from the day’s open interest trials × days yes no

Scroll sideways for the whole diagram.