Fix default python usage config code

This commit is contained in:
Edward Sun
2025-06-08 13:16:10 -07:00
committed by GitHub
parent e994e56c23
commit 0fdfd35867

View File

@@ -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")