docs: note the backtest command and remembered selections

This commit is contained in:
Yijia-Xiao
2026-09-16 21:45:08 +00:00
parent 375af054b7
commit c4152d6946

View File

@@ -176,7 +176,7 @@ Launch the interactive CLI:
tradingagents # installed command
python -m cli.main # alternative: run directly from source
```
You will see a screen where you can select your desired tickers, analysis date, LLM provider, research depth, and more.
You will see a screen where you can select your desired tickers, analysis date, LLM provider, research depth, and more. Your previous run's answers come back as the defaults, so pressing Enter accepts them. The `TRADINGAGENTS_*` variables in `.env` still skip their step entirely.
### Markets and tickers
@@ -302,6 +302,12 @@ result = run_backtest(["NVDA", "AAPL"], dates, config, selected_analysts=["marke
print(summarize(TradingMemoryLog({"memory_log_path": str(result.log_path)})).render())
```
From the CLI:
```bash
tradingagents backtest NVDA,AAPL --start 2026-06-01 --end 2026-08-01 --every 7
```
Each cell is scored on realized alpha against the instrument's regional benchmark, grouped by rating. Your own decision log is never written to, and re-running the same grid with `run_id=result.run_id` skips the cells that already ran, so an interrupted sweep continues where it stopped.
## Reproducibility