From 2fb715915b34efc7f31459fc56d640197b031466 Mon Sep 17 00:00:00 2001 From: 69049ed6x <69049ed6x@users.noreply.github.com> Date: Sun, 8 Mar 2026 15:44:26 +0800 Subject: [PATCH] docs: label factor rules example clearly --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9746ebc3..34f0db79 100644 --- a/README.md +++ b/README.md @@ -183,7 +183,7 @@ You can also adjust the default configuration to set your own choice of LLMs, de ### Factor Rule Analyst -TradingAgents now supports an optional `factor_rules` analyst that loads manually curated factor rules from JSON and injects them into the analyst → researcher → trader workflow. The analyst is opt-in: add `"factor_rules"` to `selected_analysts` when you want it enabled. +TradingAgents now supports an optional `factor_rules` analyst that loads manually curated factor rules from JSON and injects them into the analyst → researcher → trader workflow. By default, the graph uses `market`, `social`, `news`, and `fundamentals`; add `"factor_rules"` to `selected_analysts` when you want the extra analyst enabled. Default lookup order for factor rules: 1. `config["factor_rules_path"]` @@ -208,7 +208,7 @@ Example rule file format: } ``` -Example config and usage: +Example config and usage with `factor_rules` enabled: ```python from tradingagents.graph.trading_graph import TradingAgentsGraph