From 0fdfd3586784193d7dc69bfa7bc0b4f2002caca2 Mon Sep 17 00:00:00 2001 From: Edward Sun <68405458+EdwardoSunny@users.noreply.github.com> Date: Sun, 8 Jun 2025 13:16:10 -0700 Subject: [PATCH] Fix default python usage config code --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d8b903..73bbbcb 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")