Repository navigation
v0.7.0
One way to a venue. tra live and the public trade feed now go through ccxt like venue mode does, so every exchange ccxt knows can run the canary tier and feed tra paper, and there is no per-exchange adapter left in the order path.
What's new
tra liveon any ccxt venue. The canary tier sends through the same client andVenueHandas venue mode. Before the first print it checks the clock, the account's position mode, OKX's account mode, Bybit's key permissions (read through ccxt), the market type and contract size, and any position the run was not told to adopt. Run end to end on the Bybit demo (ETHUSDT) and the OKX demo (BTCUSDT, one contract of 0.01 BTC): entry, reduce-only close, flat, fees as charged.- Safer sends. A size off the venue's step is refused instead of rounded into a different trade; a send lost in transit is looked up by its client id before anything is sent again; an order that has finished but does not yet say what it filled is asked again.
- Public trades through ccxt.
tra paperandtra liveread any venue ccxt streams, with no key. Contract trades are converted to the base, duplicates are passed on once, and out-of-order trades are counted, not passed on. glama.jsonfor the server's listing on Glama.
Breaking
- Removed
trading_research_agents.trading.venues.bybit(the direct Bybit REST adapter) andtrading_research_agents.trading.feeds.bybit(the Bybit websocket feed), with thewebsocketsdependency. Bybit runs through ccxt like every venue; a plugin registered under the entry points still takes precedence for its name. - Client ids for
tra liveorders are nowtra<run><seq>, letters and digits only. tra venues --setupno longer prints a[live]table.- The
[shadow]extra now installs ccxt.
Upgrade
uv tool upgrade trading-research-agents
tra --version # 0.7.0The full list of changes is in CHANGELOG.md.