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 02f51342db
commit 4fd7f71c72
1 changed files with 2 additions and 1 deletions

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