Repository navigation
0.9.0
More venues run end to end, analysts that each read only their own data, and validators that work as a judged case.
Venues
Six exchanges have now been run end to end with real orders on their practice APIs: Bybit, OKX, Bitget, Binance, BingX and Gate. The four new ones went through the same script: an entry with its exits, the position read back, a second entry refused, a reduce-only close that leaves nothing resting, a post-only order cancelled at its timeout, a close by the venue's own exit (all but Binance, whose demo book was stale), and the kill path.
- Bitget's unified trading account works: a unified key is recognised and sent through Bitget's unified API, where leverage and margin mode are set and read back.
- Binance futures through
venue = "binance", with the stop and take profit placed right after the fill. - Gate and BingX (BingX's demo, VST, is reached with your account's own key).
- An order is refused when the venue's order book is stamped more than 30 seconds ago. Binance's demo served one 3.2 hours old.
- Fees are read as the venue charged them, a fill without a price is priced from its own fills, and closes carry their own client order id.
New page: Exchange accounts and keys, how to make a key on each venue for demo, testnet and live trading.
Agents
- Each analyst reads only its own data. The technical analyst no longer sees the other analysts' readings; code weighs every reading once, after all of them answered.
- Validators as a judged case. Pro and contra build the strongest case for and against a proposal without seeing each other's. Code checks every claim against the figures. Neutral judges the two checked cases, and its verdict is the one that counts. When only one side has a case, code decides without the extra call.
- The technical analyst sees its own last reading, so a change of direction comes with its reason.
- An answer that does not fit its schema is asked for again with the reason.
Data
Your own Parquet files are read through the same column map and audit as a CSV, for trade history and for series. New page: Your own data.
Upgrade
uv tool upgrade trading-research-agents
tra --version # 0.9.0A desk that declared all three validators now counts one verdict, the judge's, where it counted three; check [confluence].min_support if you set it above 1. The full list of changes is in CHANGELOG.md.