Add Alpha Vantage API integration as primary data provider

- Replace FinnHub with Alpha Vantage API in README documentation
- Implement comprehensive Alpha Vantage modules:
  - Stock data (daily OHLCV with date filtering)
  - Technical indicators (SMA, EMA, MACD, RSI, Bollinger Bands, ATR)
  - Fundamental data (overview, balance sheet, cashflow, income statement)
  - News and sentiment data with insider transactions
- Update news analyst tools to use ticker-based news search
- Integrate Alpha Vantage vendor methods into interface routing
- Maintain backward compatibility with existing vendor system

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
luohy15
2025-09-26 22:57:50 +08:00
parent a6734d71bc
commit 0ab323c2c6
14 changed files with 519 additions and 19 deletions
+4 -4
View File
@@ -20,10 +20,10 @@ DEFAULT_CONFIG = {
# Data vendor configuration
# Category-level configuration (default for all tools in category)
"data_vendors": {
"core_stock_apis": "yahoo_finance", # OHLCV data: yahoo_finance, local
"technical_indicators": "yahoo_finance", # Technical indicators: yahoo_finance, local
"fundamental_data": "openai", # Fundamentals: openai, local
"news_data": "openai,google", # News: openai, google, local
"core_stock_apis": "alpha_vantage", # OHLCV data: alpha_vantage, yahoo_finance, local
"technical_indicators": "alpha_vantage", # Technical indicators: alpha_vantage, yahoo_finance, local
"fundamental_data": "alpha_vantage", # Fundamentals: alpha_vantage, openai, local
"news_data": "alpha_vantage", # News: alpha_vantage, openai, google, local
},
# Tool-level configuration (takes precedence over category-level)
"tool_vendors": {