Skip to content

TradingAgents: Multi-Agents LLM Financial Trading Framework

Fix default python usage config code

Edward Sun0fdfd3586784
diff --git a/README.md b/README.md
index 4d8b903af..73bbbcb9e 100644
--- a/README.md
+++ b/README.md
@@ -136,8 +136,9 @@ To use TradingAgents inside your code, you can import the `tradingagents` module
```python
from tradingagents.graph.trading_graph import TradingAgentsGraph
+from tradingagents.default_config import DEFAULT_CONFIG
-ta = TradingAgentsGraph(debug=True, config=config)
+ta = TradingAgentsGraph(debug=True, config=DEFAULT_CONFIG.copy())
# forward propagate
_, decision = ta.propagate("NVDA", "2024-05-10")