diff --git a/docs/proposals/ARCHITECTURE_OVERVIEW.md b/docs/proposals/ARCHITECTURE_OVERVIEW.md
index 9b80a00f..95d1e6e2 100644
--- a/docs/proposals/ARCHITECTURE_OVERVIEW.md
+++ b/docs/proposals/ARCHITECTURE_OVERVIEW.md
@@ -29,7 +29,7 @@ flowchart TD
GRAPH --> LLM_FACTORY["create_llm_client() - factory.py"]
LLM_FACTORY --> DEEP["deep_thinking_llm"]
LLM_FACTORY --> QUICK["quick_thinking_llm"]
- GRAPH --> MEM_INIT["Initialize Memories
bull_memory, bear_memory, trader_memory"]
+ GRAPH --> MEM_INIT["Initialize 5 Memories
bull_memory, bear_memory, trader_memory,
invest_judge_memory, portfolio_manager_memory"]
end
USER --> PROPAGATOR["Propagator
Creates initial state"]
@@ -79,7 +79,7 @@ flowchart TD
SP --> DECISION["Final Decision Returned to User"]
- style ANALYSTS fill:#e1f5fe,e1f5fe,stroke:#0277bd,stroke-width:2px,color:#01579b
+ style ANALYSTS fill:#e1f5fe,stroke:#0277bd,stroke-width:2px,color:#01579b
style DEBATE fill:#fff3e0,stroke:#ef6c00,stroke-width:2px,color:#e65100
style TRADE fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px,color:#1b5e20
style RISK fill:#fce4ec,stroke:#c2185b,stroke-width:2px,color:#880e4f
diff --git a/docs/proposals/RFC_AUTORESEARCH_INTRADAY.md b/docs/proposals/RFC_AUTORESEARCH_INTRADAY.md
index 1c16b75c..3ce078cf 100644
--- a/docs/proposals/RFC_AUTORESEARCH_INTRADAY.md
+++ b/docs/proposals/RFC_AUTORESEARCH_INTRADAY.md
@@ -37,7 +37,7 @@ This is essentially **walk-forward backtesting with self-improvement** — a pro
| Risk | Mitigation |
|---|---|
-| **LLM API costs** | Each day = ~12 agent calls with LLM. 30 days = 360+ LLM calls. Use `gpt-4o-mini` for quick_think |
+| **LLM API costs** | Each day = ~12 agent calls with LLM. 30 days = 360+ LLM calls. Reuse existing `quick_think_llm` (currently `gpt-5.4-mini` in `default_config.py`) for cheap agents; only use `deep_think_llm` where reasoning depth is required |
| **Overfitting to past data** | Don't tune prompts to specific dates — tune the APPROACH (which tools matter, what indicators to prioritize) |
| **Look-ahead bias** | When predicting day 11, the agents must ONLY see data up to day 10. Never leak future data |
| **Rate limits** | yfinance and Alpha Vantage have limits. Add delays between runs |
@@ -110,7 +110,7 @@ flowchart TD
subgraph LOGIC["How Training Window Works"]
L1["Take training window of historical data"]
- L2["Split: first N-10 days = context
last 10 days = walk-forward test"]
+ L2["Split: first (N - test_window) days = context
last test_window days = walk-forward test
(test_window is configurable;
default ~20% of N, min 5 days)"]
L3["Predict day by day through test window"]
L4["After test: use full window to predict FUTURE"]
end
@@ -225,9 +225,11 @@ flowchart TD
PR --> HARNESS["model_harness.py
Orchestrates the full pipeline:
setup → train → eval → predict → viz"]
PR --> PROMPT_PY["prompt.py
Configurable analysis prompts
and research focus areas"]
PR --> VIZ_PY["visualization.py
Side-by-side charts
(actual vs predicted)"]
- PR --> RESULTS["results/
Excel/CSV output files"]
end
+ OUTPUTS_NOTE["All generated artifacts (Excel, CSV, charts)
are written to config['results_dir']
from default_config.py — NOT committed
inside the source package"]
+ HARNESS -.->|"writes outputs to"| OUTPUTS_NOTE
+
subgraph EXISTING_USED["Existing Files We Use (Don't Modify)"]
EX1["tradingagents/graph/trading_graph.py
TradingAgentsGraph class"]
EX2["tradingagents/graph/reflection.py
reflect_and_remember()"]
@@ -259,7 +261,7 @@ flowchart TD
FETCH["Fetch full historical data
yfinance: get_stock_data(ticker, start, end)"]
- SPLIT["Split data:
context_days = window[:-10]
test_days = window[-10:]"]
+ SPLIT["Split data (configurable test_window):
context_days = window[:-test_window]
test_days = window[-test_window:]
Default: test_window = max(5, int(0.2 * N))"]
INIT["Initialize TradingAgentsGraph
with fresh memories"]
@@ -306,10 +308,10 @@ flowchart TD
M6["Best/Worst Days
Biggest wins and losses"]
end
- subgraph OUTPUT["Output Files"]
- O1["results/training_log.xlsx
Every prediction with details"]
- O2["results/metrics_summary.xlsx
All metrics in one sheet"]
- O3["results/memory_dump.json
What the agents learned"]
+ subgraph OUTPUT["Output Files (written to config['results_dir'])"]
+ O1["{results_dir}/training_log.xlsx
Every prediction with details"]
+ O2["{results_dir}/metrics_summary.xlsx
All metrics in one sheet"]
+ O3["{results_dir}/memory_dump.json
What the agents learned"]
end
INPUT --> METRICS
@@ -369,7 +371,7 @@ flowchart TD
H6["Phase 3: PREDICT
model.predict_future()"]
H7["Phase 4: VISUALIZE
visualization.create_dashboard()"]
- H8["Save all results to results/"]
+ H8["Save all results to config['results_dir']"]
H1 --> H2 --> H3 --> H4 --> H5 --> H6 --> H7 --> H8
end