Trend following
Diversified futures books across asset classes, tested on decades of daily history with a cost charged on every trade.
Platform case studySystematic tradingMinutes to days
A complete platform for running a systematic mid-frequency trading system.
Market data, data quality, research, execution, risk and operations on one stack, built and run by one engineer directing a fleet of 34 AI agents that works around the clock. For a firm onboarding a systematic strategy that holds positions for minutes to days, Nexus is the whole path from vendor feed to broker order. It runs every day on a production host, and the trading figures on this page come from a broker demo account.
Read on 2026-11-27: market-data figures from TimescaleDB catalog estimates and the coverage cache (≈ marks an estimate); work-item, merge, seat and deploy figures from the work board, GitHub, the seat roster and the deploy ledger, each daily rate the average of 13 to 26 November; trials from the research trial register; orders from the trader's order records.
A systematic trading system needs six things to work together. Nexus has all six in production, sharing one data store, one sizing library and one way of shipping change.
Ten sources and nine asset classes, from daily futures history back to 1969 to live broker capture at one second.
≈1.52B bars · 11,325 tickersRaw data is never edited. Every bar is checked, every fix is a logged and reversible operation, and bad series are quarantined.
37 check types · 6,631 logged fixesTrend, mean reversion and relative value on six simulation engines, a strategy builder over two of them, and controls that stop a backtest from flattering itself.
71 counted trials · 17 campaigns · 6 enginesThe backtest and the live book size positions with the same library. Staged pre-trade limits, a halt and independent kill switches sit in front of the broker, which is reached through one interface.
1,082 demo orders · 34 markets · 13 of 13 drills passedThirty-four agent seats from three vendors build and run the platform around the clock, with an AI coordinator handing out the work. Every change is leased, reviewed by a different agent, tested and logged.
34 seats · 5,545 merged PRsCheckers on timers open a work item for anything red, every first-party system service has a failure alert wired, and backups are restore-tested.
46 checkers · 6 fast checks · failure alerts wired on 321 of 355 unitsFourteen repositories make up the platform. The core is a data path: vendor feeds and live broker ticks land in a time-series store, a data API serves them, a research service tests strategies against them, and a trader executes the book that research promotes. Models come in through one contract and orders go out through one broker interface.
A mid-frequency system needs long daily history to test across many market regimes, and dense intraday bars to measure entries, exits and costs. Nexus holds both in one store: about 1.52 billion price bars across 11,325 tickers from ten sources.
Each bar runs from a source's earliest stored bar to its latest, as recorded in the store's coverage cache on 27 November 2026. A source's span is set by its longest series; many of its tickers start later. Hover or focus a row for the detail.
Two further public sources each supply one index series. Futures history includes individual contracts as well as continuous series.
| Source | Coverage | From | Latest stored | Resolution |
|---|---|---|---|---|
| Pinnacle Data CLC | 39 futures markets | Jan 1969 | 17 Jul 2026 | daily |
| Yahoo Finance | 6,603 tickers | Jan 1999 | 27 Nov 2026 | daily; hourly from Apr 2024; 5- and 15-minute from Feb 2026 |
| FRED | 42 series | Jan 2000 | 26 Nov 2026 | mainly daily |
| Dukascopy | 36 instruments | May 2003 | 8 Oct 2026 | 1-minute |
| Cboe | 4 indices, 273 contracts | Jan 2004 | 25 Nov 2026 | daily |
| Databento | 40 continuous, 4,021 contracts | Jun 2010 | 26 Nov 2026 | daily and hourly; 1-minute for 5 markets to Aug 2023 |
| CCXT | 558 crypto pairs | Aug 2017 | 27 Nov 2026 | daily and hourly; 5- and 15-minute |
| IG | 64 markets | Jul 2026 | live | 1-second live capture; 1-minute and longer bars |
Catalog estimates of raw bars held, in millions.
Compressed 7.5 to 13.6 times on disk, depending on resolution.
Tickers with stored bars, each counted once, by the asset class in the instrument reference.
For your firmFutures, FX, equity, index, volatility and crypto history is already loaded. A new vendor is onboarded the same way as the ten here: registered as a source, checked by the same validators, and served through the same API. How futures are rolled and adjusted, and how history meets the live feed →
A backtest is only as good as the bars under it. Nexus never edits raw data. It checks every dataset, logs each correction as a reversible operation, and serves a clean view that can be rebuilt from raw at any time.
Every vendor bar is kept as delivered, in append-only tables.
37 check types record what they flag.
Each fix is one logged, reversible operation with before and after statistics.
A dataset is marked clean only when its checks pass.
Research and trading read canonical series through the data API.
QuarantineA dataset that fails is held back, with its reason on record, until it is fixed or retired. 45 are held today.
A selection of the 37 check types.
For your firmWhen a result looks too good, you can trace every bar behind it back to the vendor's delivery and every change made to it. Every check, every fix and what runs today →
Nexus is not built around one strategy. Six simulation engines cover daily portfolio backtests, statistical arbitrage, minute-level and intraday simulation, and overlays. A strategy builder covers two of them today, trend books and target-position panels, and opens a saved strategy as its components and results. Every style runs under the same controls.
Diversified futures books across asset classes, tested on decades of daily history with a cost charged on every trade.
Intraday and daily books on minute and hourly bars, with costs charged before a trade is admitted.
Spread and basket books across related instruments, simulated leg by leg with each leg's costs.
A new strategy is integrated through the builder's extension points, then follows the same governance path: register, authorise, test, decide.
A registered test writes its accept rule before any result exists, and closes on that rule. A descriptive run without one says so in its verdict.
No registered test runs without a one-shot, root-owned authorisation that binds the spec hash, the code SHA, the data IDs and the operator's sentence. No agent can write it.
An append-only register is checked before any market-data read. A run larger than its reservation is refused, and retrospective bookings still count.
A read spends a look only if it produces a return, a fit or a selection. A sealed slice is spent once, with no refund after a crash.
A trade is admitted only if the forecast clears its uncertainty and a measured cost reserve. An unmeasured instrument never gets a default cost. On 891 demo fills from 28 July to 13 November 2026, in the trend book's markets and weighted by its cost mix, trading cost came to 0.96 of what its cost model charges, with a standard error of 0.03.
Tests check that no future data reaches a signal; 38 test files address look-ahead, from signal checks to the CI and deploy gates that run them. Every walk-forward fold and the hold-out are purged and embargoed, and scoring uses deflated out-of-sample statistics.
The trend engine must recover a trend planted in synthetic prices, and find nothing in the same noise without it; every deploy of the research service runs that check. The whole combiner must show no edge on 200 random-walk seeds, checked on every change to main and every night.
For your firmYour strategy is tested the way a sceptical reviewer would want: trials counted, hold-out sealed, costs measured, and the verdict rule written down first. Each control, the research behind it and what runs today →
For a quant with a model, the expensive part is everything around it: clean history, a bar clock, sizing, turnover limits, risk caps, costs, honest statistics and a path to a broker. In Nexus a strategy is a document of named slots, and a model fills the forecast slot. It comes in through one model contract, the same for a model written here or elsewhere: the model declares what it forecasts, on what clock, over which markets and in what units, and Nexus refuses any batch that does not match. All 15 signals built in Nexus run through it today. The routes for an outside model's forecasts or targets are designed and held behind a gate. Below the contract the model runs on an engine that already exists, so it does not need a new backtester.
strategy
sleeve
universe instruments, series
clock 5-min, hourly, daily
forecasts <- your model
blend how forecasts combine
sizing forecast to position
turnover no-trade band, trades
risk caps and limits
cost charged per trade
book
allocation across sleeves
book risk book-level limits
band weight band
Stored trend books hold several sleeves each. Composing changes a stored strategy's settings within bounded menus; it does not add or choose sleeves.
Your model emits a signed forecast per market per bar and joins the trend engine as a new forecast. The engine sizes positions from the forecasts, applies the turnover band and risk caps, and charges costs per trade, on a daily clock.
Your model scores a panel of markets on a five-minute or hourly clock. The target-position engine turns the scores into position targets, clips them to limits, holds small changes inside a no-trade band, trades the rest, and charges a measured cost on each trade and financing on each bar.
The model reads the same clean series as research and trading. Every logged look records the deployed commit it ran on, and a saved strategy records its code version, so a result can be traced to the code that made it.
The stages each path exposes, so you can see where a result was made or lost. Panel strategies show all of these; trend books show forecasts, positions, trades, costs and P&L, without the target stages.
The same sections whichever path ran, each in that path's own units.
Score the strategy on the declared window for its clock. Warm-up history is loaded but never scored, and every look is logged.
Change a stored strategy's settings within bounded menus, and save trend and panel strategies under a name that is never reused.
Submit the document. The trial is booked in the register first, then the job queues with a runtime estimate and runs to a descriptive report, not a research verdict.
For a quantBring the model and keep it in one component. You get governed backtests on clean data, costs on every trade, statistics that state their own uncertainty, and a record of the code behind every look. Trading a new kind of model is a separate step: the trader runs trend books today, and another model type needs its trader integration built first. More on the model contract and the strategy tester.
A firm usually arrives with its own broker. In Nexus the trader reaches a broker through one interface, and each broker gets an adapter that translates between its API and the trading engine. The model, the sizing, the pre-trade limits and the reconciliation stay on the Nexus side. The aim is that a new broker becomes an adapter to build and prove, not a rewrite of the trader.
BrokerClient chosen per account
login() open a session
authenticated session state
account() balances, funds
positions() open positions
market(id) one market's rules
search_markets() find instruments
place_order() send an order
confirm(ref) the broker's answer
adapters
IG implemented
internal sim paper books
IB stub, every call fails
your broker <- an adapter to add
Several calls still return the broker's own fields, and execution code still reads some IG-specific ones. Moving those reads into the adapter is part of the contract work.
Account and session, instruments and units, quotes and capabilities, order requests, order events and fills, positions and capital, history and reconciliation, and failures and recovery. It fixes units, identity, freshness and failure behaviour, not only method names.
Map the broker's products and units, declare what it supports, and pass a shared conformance suite before the account may trade. The proposed contract also says what happens when things go wrong: an order that times out is treated as unknown and reconciled before any retry, and a repeated request must never create a second order.
A switch starts from the exposure the book wants and sizes it for that broker's product: a stake per point at IG, whole futures contracts at an exchange broker. Copying the order quantity would change the risk. The aim is equivalent exposure, not identical fills or costs.
In the proposed design, the work splits like this.
Today Nexus already holds the model, sizing, limits and the halt. Order identity has started on the IG side: a per-account send lock and a journal that records each order before it is sent were built in late November 2026. Fact freshness and a clean adapter boundary are part of the proposed work.
For your firmWith an adapter built and proved for your broker, keep it and reuse the model and the controls. Nexus decides what to trade and whether the controls allow it; the adapter translates and reports. Adding a broker does not reroute an open order, move a position or authorise live money. The broker contract in full →
The same platform that tests a strategy runs it: a per-market scheduler, pre-trade controls and reconciliation on the trading side, and checks, alerts and tested backups on the operations side.
For your firmPre-trade controls in the spirit of MiFID II RTS 6 and SEC 15c3-5, and reconciliation that finds breaks early. How execution works →
For your firmOperational resilience you can evidence: checks that report, alerts that fire, and a maturity score with the gaps listed. How production runs day to day →
Thirty-four agent seats from three AI vendors build and run Nexus around the clock, and an AI coordinator, itself one of the agents, hands out the work. The controls are the point: every change is a leased work item, made in its own worktree, reviewed by a different agent at the exact commit, tested on scoped CI and shipped through a deploy ledger.
One Postgres lease board. Taking a work item is an atomic compare-and-swap, so exactly one seat wins each item. The coordinator role is itself a lease, held by one of three vendors, and passes to another vendor if its holder goes quiet. Work goes to the vendor with the most headroom.
Work is an item on the board, not a chat message. The AI coordinator hands it to a seat.
A seat takes the item for a fixed term and gets its own worktree. Leases expire on read, so no sweeper is needed.
The agent works in its worktree and pushes a branch. Shared clones are never edited.
A different seat, often from another vendor, approves the exact head SHA. An approval of any other SHA does not count.
The diff is classified into test lanes on self-hosted runners. An unchanged tree reuses its green run.
Merge lanes serialise main in the research and tooling repositories. The research repository accepts merges only as tested batches.
deploy-now ships the tested tree, runs the service's gate and a health check, and logs the result. It refuses dirty trees, stale clones and rollbacks unless explicitly overridden, and logs any override.
Checkers turn anything red into a new item, and the loop starts again.
For your firmAdopting AI coding agents with the controls a regulated team needs: leases, isolation, independent review, a cost meter and a deploy ledger you can query. How the fleet works day to day → Throughput, measured →
Each step below uses a part of Nexus that runs today. A firm can take the whole path, or only the parts it is missing.
Agree the markets, horizons, data and broker. Each instrument gets its source, calendar, roll rule and a trading-cost estimate.
History is loaded raw, validated, cleaned with logged operations and promoted only when its checks pass.
The strategy or model is registered with its accept rule, authorised, and run on the simulation engines against a sealed hold-out.
The book runs through the trader on a broker demo account, sized by the same library as the backtest and reconciled against the broker. A daily bridge explains its gap to the simulation, term by term. The trader runs trend books today; another model type gets its trader integration first, and a broker other than IG gets its adapter.
Pre-trade limits, the halt and the kill switch stay on. Checkers and alerts watch data, jobs and positions.
See it appliedThe systematic trend programme is an example running on Nexus today. It was researched and tested on the platform. Its books have run every day on a broker demo account since 12 August 2026, and the November edition's book began a forward test on 23 November 2026, under a pass and kill rule written beforehand and with a review on 23 May 2027. It has no live track record yet, and its case study says what that means for the results. Read the trend programme case study →
Each of these happened in production, and each left a rule or a tool behind. Incidents and records shows how incidents are graded, reviewed and closed.
A rollback deploys an older commit, and that commit passes its own tests. The gate goes green on the way down while the service moves backwards past fixes. The deploy tool now refuses it and names the commits it would drop. Going back takes an explicit override, which the deploy log records; fixes go forward.
Release safety · fix-forward practice
Three agent sessions exhausted memory. With unbounded swap, no OOM kill fired: the host ground for about 100 minutes and was unreachable for about ten. The fix was per-slice memory caps, a guaranteed floor for Postgres and CI, and a per-job ceiling.
Linux resource isolation · incident forensics
Two shells reported the same agent id, and one released the other's live claim with no audit trail. The lease tool now refuses a second claim under a shared id and flags the collision.
Concurrency control · fail-closed design
Every first-party system unit now has a failure alert wired. A green check proves the wiring exists, not that anyone is paged, so the checker prints that limit in its own output.
Testing safety controls · honest monitoring
Sources, read 2026-10-01 between 18:27 and 18:40 UTC unless noted. Refreshed 2026-11-27: GitHub for merged pull requests and runners across the 14 platform repositories; the work board, its claim ledger, the seat roster and the deploy ledger (counting the platform's own services and excluding test-fixture rows), each daily rate the average of 13 to 26 November; git on each repository's main branch for test files and functions (parsing each test file and following test-class inheritance; files are those with at least one counted test) and for lines of code; TimescaleDB catalog estimates, compression statistics and the coverage cache for bars, tickers, sources and history; the instrument reference for asset classes and calendars; the research trial register; the trader's order records for filled demo orders; the trading service's latest full test run on main for coverage; and the checker registry. Read on the dates given: the trader's drill records (29 to 31 August 2026); the unit-alert coverage checker with the unit registry (2026-10-22) and the alert deduplication change (2026-11-23); the cost check against the demo account's fills (2026-11-16); approvals and work-item times over 26 October to 22 November 2026, as on the AI engineering pages; the validation, cleaning and dataset tables for data quality (2026-10-01); and the dated review and incident records. The system picture and the model and broker sections were checked on 2026-10-28 against the trader's broker interface and adapter factory, the target engine's model contract, the broker contract's design record of 26 October and the work board; the order-identity note and the research controls on 2026-11-27 against the trading and research services' main branches and the deploy ledger.
What it would cost and how long it would take to hire a team and build a platform like this, how Nexus is built to stay cheap to change, what is ready today and what a first engagement adds.
How 34 AI agents from three vendors build and run Nexus around the clock: one work board, an AI coordinator that hands over and recovers by itself, review by a different agent, guarded deploys, and what is coming next.
The AI engineering section: work items and pull requests a day, who approves each change, the ten success factors, what goes wrong, and how far a firm should go with AI agents.
Ten sources and nine asset classes, how futures contracts are rolled and ratio back-adjusted into continuous series, the series kept side by side, and how exchange history meets the live broker feed.
One record per instrument, index and crypto universes kept as dated ranges and refreshed daily, dividends applied on read, calendars and dataset declarations, and what is point in time.
Raw data kept as delivered, 37 check types, every fix a logged and reversible operation, guards on the live feed, and what runs today, including what is still open.
The five research controls step by step: what each one does, the published work on backtest overfitting, validation and trading costs behind it, what runs today and what is not built yet, and how a quant plugs a model in.
One tester for trend and cross-sectional strategies over the engines Nexus already has: a strategy as a document of slots, behaviour shown free, results counted, and what is not built yet.
How a model enters Nexus through one contract: three ways in, what a model declares, the rules enforced at the boundary, where the programme stands and what plug-and-play still needs.
One clock of scheduled jobs, a pre-trade test of the whole book before the first order, a 31-check day ledger after the last, four layers of watching, and backups restored on a schedule.
How a target book becomes broker orders: one sizing library, staged pre-trade limits that never block a risk-reducing order, a halt and a kill switch, reconciliation with the broker, and the contract a second broker would plug into.
Nexus reviewed three times against prop-desk technology due-diligence standards: the method, a 0 to 5 scale where 5 needs independent verification, all 13 scores and the decisions they changed.
53 technologies, each with where it lives in the code, what that code does and the detail that matters.
How an alert gets from any service to Slack without blocking the caller: a 202, a transactional outbox and a delivery loop.
Lightstreamer, WebSockets and Server-Sent Events compared, and where each one runs in Nexus.
No Celery, no Airflow, no crontab: every service and job is a systemd unit, and Postgres does the queueing.
How accounts, cgroups and scheduling keep the database and trading running whatever else the server is doing.
How systemd units and cgroup slices map to Deployments, CronJobs, requests and limits, what Kubernetes would add and cost, and when Nexus would move.
How changes get the tests they need on self-hosted runners, land through merge lanes in the core repositories and ship through a guarded deploy, and how the tooling repository reverts its own broken builds.
I can set up this framework, or the parts you are missing, around your strategy, your model and your broker: the data platform, the research controls, execution and risk, and the agent fleet that maintains it.