Skip to content

2.4.0 — TradeFlow is now QuantRed

Choose a tag to compare

@makedirectory makedirectory released this 08 Nov 06:49
· 7 commits to main since this release
a618658

TradeFlow is now QuantRed

pip install quantred / uv tool install quantred. The distribution, the command and the import package are all quantred; plugin entry-point groups are quantred.strategies and quantred.scanners (the old tradeflow.* groups are still read). ~/.tradeflow and TRADEFLOW_HOME are unchanged, so recorded history carries over.

Already on tradeflow-engine? pip install -U tradeflow-engine moves you across: its final release, 2.3.1, is a transition package that installs quantred, keeps the tradeflow command, and keeps import tradeflow working (same objects as quantred.*, with a DeprecationWarning). Under uv tool an upgrade gives you tradeflow but not quantred; reinstall as quantred when you're ready. A private pack needs from tradeflow → from quantred and its dependency changed. Steps: migrating to QuantRed.

Accounting v6 — earlier trials leave the default listing

Window boundaries computed by adding days to a market date kept January's UTC offset, so from March to November they sat an hour late and every summer out-of-sample fold began a bar late. Consecutive out-of-sample folds also shared their boundary bar, and a walk-forward's in-sample search chose parameters at the default one-position book while its folds scored the configured book. ACCOUNTING_VERSION is 6, so all earlier trials drop out of the default trials list (it says how many); trials archive retires the era.

Also in this release

  • A first session that works from install. Readiness per task (init --check --for …), install hints that keep your extras and packs, model-provider setup in init, and refusals that say what to type instead of a traceback.
  • MCP works in a real client. Starts without broker keys (mcp --offline for cache-only), every result is strict JSON, bad input is a tool error, and save_config/load_config stay inside the configs directory.
  • One identity across CLI and MCP. One request is one trial whichever surface ran it; capital, benchmark and book are part of a run's identity, so a $4,000 request is never answered from a $100,000 run.
  • Honest labels. In-sample kinds stay off leaderboards, every Sharpe carries its basis, reused results say what they lack, and absent values say so instead of printing 0.
  • Fixes: trials promote dropped the cost model; Calmar, Sterling, VaR and CVaR reported a loss as a gain; Docker images carried .env, specs/ and logs/ from a checkout.
  • Research agent: generated-code configs are refused at load, malformed model replies become recorded rejections, and selection is on net returns by default.

Full list: changelog.