Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 16:52
· 67 commits to master since this release

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 live on any ccxt venue. The canary tier sends through the same client and VenueHand as 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 paper and tra live read 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.json for the server's listing on Glama.

Breaking

  • Removed trading_research_agents.trading.venues.bybit (the direct Bybit REST adapter) and trading_research_agents.trading.feeds.bybit (the Bybit websocket feed), with the websockets dependency. Bybit runs through ccxt like every venue; a plugin registered under the entry points still takes precedence for its name.
  • Client ids for tra live orders are now tra<run><seq>, letters and digits only.
  • tra venues --setup no longer prints a [live] table.
  • The [shadow] extra now installs ccxt.

Upgrade

uv tool upgrade trading-research-agents
tra --version      # 0.7.0

The full list of changes is in CHANGELOG.md.