mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-09-19 19:25:24 +03:00
docs: use a current date in the usage examples
This commit is contained in:
@@ -211,7 +211,7 @@ from tradingagents.default_config import DEFAULT_CONFIG
|
|||||||
ta = TradingAgentsGraph(debug=True, config=DEFAULT_CONFIG.copy())
|
ta = TradingAgentsGraph(debug=True, config=DEFAULT_CONFIG.copy())
|
||||||
|
|
||||||
# forward propagate
|
# forward propagate
|
||||||
_, decision = ta.propagate("NVDA", "2026-01-15")
|
_, decision = ta.propagate("NVDA", "2026-09-01")
|
||||||
print(decision)
|
print(decision)
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -228,7 +228,7 @@ config["quick_think_llm"] = "gpt-5.6-luna" # Model for quick tasks
|
|||||||
config["max_debate_rounds"] = 2
|
config["max_debate_rounds"] = 2
|
||||||
|
|
||||||
ta = TradingAgentsGraph(debug=True, config=config)
|
ta = TradingAgentsGraph(debug=True, config=config)
|
||||||
_, decision = ta.propagate("NVDA", "2026-01-15")
|
_, decision = ta.propagate("NVDA", "2026-09-01")
|
||||||
print(decision)
|
print(decision)
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -259,7 +259,7 @@ tradingagents analyze --clear-checkpoints # reset before running
|
|||||||
config = DEFAULT_CONFIG.copy()
|
config = DEFAULT_CONFIG.copy()
|
||||||
config["checkpoint_enabled"] = True
|
config["checkpoint_enabled"] = True
|
||||||
ta = TradingAgentsGraph(config=config)
|
ta = TradingAgentsGraph(config=config)
|
||||||
_, decision = ta.propagate("NVDA", "2026-01-15")
|
_, decision = ta.propagate("NVDA", "2026-09-01")
|
||||||
```
|
```
|
||||||
|
|
||||||
## Reproducibility
|
## Reproducibility
|
||||||
|
|||||||
2
main.py
2
main.py
@@ -12,7 +12,7 @@ config = DEFAULT_CONFIG.copy()
|
|||||||
ta = TradingAgentsGraph(debug=True, config=config)
|
ta = TradingAgentsGraph(debug=True, config=config)
|
||||||
|
|
||||||
# forward propagate
|
# forward propagate
|
||||||
_, decision = ta.propagate("NVDA", "2024-05-10")
|
_, decision = ta.propagate("NVDA", "2026-09-01")
|
||||||
print(decision)
|
print(decision)
|
||||||
|
|
||||||
# Memorize mistakes and reflect
|
# Memorize mistakes and reflect
|
||||||
|
|||||||
Reference in New Issue
Block a user