Update configuration documentation for Alpha Vantage data vendor
Add data vendor configuration examples in README and main.py showing how to configure Alpha Vantage as the primary data provider. Update documentation to reflect the current default behavior of using Alpha Vantage for real-time market data access. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
6211b1132a
commit
7bcc2cbd8a
10
README.md
10
README.md
|
|
@ -179,6 +179,14 @@ config["deep_think_llm"] = "gpt-4.1-nano" # Use a different model
|
|||
config["quick_think_llm"] = "gpt-4.1-nano" # Use a different model
|
||||
config["max_debate_rounds"] = 1 # Increase debate rounds
|
||||
|
||||
# Configure data vendors (default uses Alpha Vantage for real-time data)
|
||||
config["data_vendors"] = {
|
||||
"core_stock_apis": "alpha_vantage", # Options: alpha_vantage, yahoo_finance, local
|
||||
"technical_indicators": "alpha_vantage", # Options: alpha_vantage, yahoo_finance, local
|
||||
"fundamental_data": "alpha_vantage", # Options: alpha_vantage, openai, local
|
||||
"news_data": "alpha_vantage", # Options: alpha_vantage, openai, google, local
|
||||
}
|
||||
|
||||
# Initialize with custom config
|
||||
ta = TradingAgentsGraph(debug=True, config=config)
|
||||
|
||||
|
|
@ -187,7 +195,7 @@ _, decision = ta.propagate("NVDA", "2024-05-10")
|
|||
print(decision)
|
||||
```
|
||||
|
||||
> We recommend enabling them for experimentation, as they provide access to real-time data. The agents' offline tools rely on cached data from our **Tauric TradingDB**, a curated dataset we use for backtesting. We're currently in the process of refining this dataset, and we plan to release it soon alongside our upcoming projects. Stay tuned!
|
||||
> The default configuration now uses Alpha Vantage as the primary data provider, which provides access to real-time market data. For offline experimentation, there's a local data vendor option that uses our **Tauric TradingDB**, a curated dataset for backtesting, though this is still in development. We're currently refining this dataset and plan to release it soon alongside our upcoming projects. Stay tuned!
|
||||
|
||||
You can view the full list of configurations in `tradingagents/default_config.py`.
|
||||
|
||||
|
|
|
|||
8
main.py
8
main.py
|
|
@ -9,6 +9,14 @@ config["deep_think_llm"] = "gemini-2.0-flash" # Use a different model
|
|||
config["quick_think_llm"] = "gemini-2.0-flash" # Use a different model
|
||||
config["max_debate_rounds"] = 1 # Increase debate rounds
|
||||
|
||||
# Configure data vendors (default uses Alpha Vantage for real-time data)
|
||||
config["data_vendors"] = {
|
||||
"core_stock_apis": "alpha_vantage", # Options: alpha_vantage, yahoo_finance, local
|
||||
"technical_indicators": "alpha_vantage", # Options: alpha_vantage, yahoo_finance, local
|
||||
"fundamental_data": "alpha_vantage", # Options: alpha_vantage, openai, local
|
||||
"news_data": "alpha_vantage", # Options: alpha_vantage, openai, google, local
|
||||
}
|
||||
|
||||
# Initialize with custom config
|
||||
ta = TradingAgentsGraph(debug=True, config=config)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue