Skip to content

What it guarantees, and what is not built yet ​

This page separates two things that are easy to confuse.

  • Guarantees are rules the system enforces and the tests check. They protect capital and keys, and any change, including a contribution, has to keep them.
  • Not built yet is scope: things a trading system can do that this project does not do today. None of them is forbidden, and several are where the project is heading: more market types among them (Where it is going). Each one says what a contribution would need, and Contributing says how to propose it.

Guarantees ​

GuaranteeHeld by
No language model places, cancels or resizes an order, holds a key, or opens a network connectionthe import graph test (tests/test_boundaries.py): only llm/providers imports a vendor SDK, and no role reaches the venue code
No model can loosen a control: it may tighten a limit, step the ladder down or arm the kill switch, never the reverseagents/ tools expose only the tightening actions; the ladder refuses a promotion without evidence and a signature
One decision sends at most one order, and a venue error is recorded, not retried; a send that was not answered is looked for by its client id, and one not found is UNKNOWN, holds its instrument, and is reconciled, never resenttrading/dispatch.py, execution/unknown.py, trading/positions.py; a retry around real capital is how one defect becomes ten orders
An order goes out only after the mandate, the caps, the ladder tier on mainnet, the cost gate, the risk and desk limits, the risk gate's signature for that intent, and the venue checks (step, drift, margin, liquidation) have all passedexecution/mandate.py, agents/cycle/, risk/, trading/dispatch.py; each refusal is named
Missing or stale data is refused, never treated as zero or as currentthe data chains' ttl, max_age on series, the snapshot's refusals
Every figure an agent reads is computed by the system and kept on disk with its source and age; a citation that does not match is discardedagents/scope.py, agents/cited.py, inputs.json.gz and tra runs verify
Keys live in your environment or the .env beside strategy.toml, never in a config file, a brief, a prompt or a record, and are blanked out of errorscli/credentials.py, llm/completer.py, data/pull.py
Sandbox is the default, and there is no production tierexecution/mandate.py, the ladder
The research chain does not select among variants: a claim that only survives after many tries has not survivedchain/; the walk-forward harness ships, an optimiser that feeds the chain does not

What the checks do not prove ​

The guarantees above keep a model from inventing a figure, sending an order or loosening a limit. They do not make its reasoning right, and they do not make a strategy profitable. What is left, and where the software measures it instead of assuming it:

What is not provenWhyWhere it is measured
A cited figure supports the claim made with itthe citation check confirms the figure was given and its value is right; whether it means what the claim says is a judgement, and a deterministic rule here would misread a reversion thesis as a contradictionthe judged reviewers argue for and against apart and a neutral judge weighs both; tra hindsight replays every decision against its reverse
A high confidence or conviction means a better tradeneither is a calibrated probabilitytra hindsight: rank correlation and confidence bands against outcomes
The claimed edge is the expected moveit is what the operator declared: a rule's mean net per trade from their own arena run, or an agent desk's target or magnitude; nothing measures it live until trades finish[sizing]: Kelly from the desk's own finished trades refuses entries when the record shows no edge
The thresholds you chose hold out of sampleregime lines, weights, exit bounds and targets are parameters and can be fitted to the pastthe research chain's walk-forward harness for scripted cores; a sensitivity sweep for agent desks is not built yet
The prices the gate used match the fillsthe gate prices on the book at the decisiontra sizing: entry slippage against the priced touch and fees against the priced schedule, per finished trade

Not built yet ​

AreaTodayWhat a contribution would need
Market types: inverse and dated futures, optionsOn the way. Venue mode sends to linear perpetuals and, when the desk lists them, spot (stock perpetuals and tokenized stocks among them, under the equity session rule) and prediction market outcomes; it refuses any other market type on every order until that type has the pieces on the right (MARKETS in execution/mandate.py). Spot is built: order path, position keeper and desk cycle, run on the Bybit and OKX demosA cost model for that market (spot has no funding; options have premium and greeks), exit semantics that hold there (spot cannot be shorted without margin), sizing and liquidation rules, and tests; then that type is added to what the venue hand accepts
On-chain venues outside ccxtVenues ccxt supports, Hyperliquid among them, go through the same venue hand. An on-chain exchange ccxt does not cover can be priced ([[channel]].gas_quote) but not executedWallet and transaction signing kept outside every model's reach, RPC and nonce management, slippage and MEV protection, and the same mandate and caps
More than one account or sub-accountOne account per project, read before every orderAccount selection that is declared, never chosen by a model; per-account caps, equity and daily loss; the keeper and desk counting per account
Wallet transfers, withdrawals, treasuryNone. The venue hand reads the account and sends orders, nothing elseSeparate keys with separate permissions, a human approval step, and records of every movement; this is the area where the guarantees above matter most
Routing across venues, execution algorithms (TWAP, VWAP, iceberg)One venue per project; one order per decision, taker IOC or maker post-onlyA long-lived order manager with its own records, so --mode signals plus your own executor is the route today
Portfolio accounting, P&L history, tax lots, statementspositions.jsonl and round_trips.jsonl per trade, with fees and funding as the venue reports themReconciliation against venue statements over time, built on the records the desk already writes
Streaming data inside a cycleREST snapshots with a declared freshness window; tra live uses a websocket feedA streaming feed in the cycle's data layer, keeping the snapshot as the record of what a decision saw
A database or message busFiles are the record; tra run --every is one in-process loopA store behind the same record writer (records/), with the files or an export kept as the auditable source
High frequencyBars of a minute or more; decisions seconds apartA different architecture: models are not in the loop at that speed

A contribution in any of these areas is welcome. What it cannot do is weaken a guarantee to get there; where the two meet, the guarantee wins and the feature finds another shape.

Data, models and research, in one place ​

  • The engine fetches and the agents read. No agent fetches anything, and there is no code path from a role to the internet.
  • A model may read one class of data and declare a state, propose a direction with a confidence and a horizon, argue for or against a proposal citing its figures, or write an audit finding for a person to apply. It never sizes a trade, changes a configuration file, promotes a tier, loosens a control, or touches an order.
  • If a model writes the language of an order or a size in its prose, or states a desk rule it was never told, that is recorded as a crossing beside its answer and changes nothing (agents/scope.py).
  • An auditor's proposed change has to name a setting the configuration accepts, and the loader refuses a setting it does not know in every table it reads, so a rule a model made up cannot take effect.

Safety and responsibility ​

Venue mode needs a mandate the operator wrote and signed in their own project, a leverage and a cap per order, keys in the environment, and on mainnet the ladder at its canary tier. Nothing here is advice: the licence is MIT with no warranty, and a verdict from a gate is a statement about a dataset and a registration, not a recommendation to trade. Compliance, reporting, jurisdiction, and whether you may run this at all are the operator's to settle. Liability says where responsibility sits, in plain words.

Released under the MIT License.