TradingAgents/tradingagents/dataflows
Joseph O'Brien 9c252fdc2c refactor: consolidate configuration management with Pydantic-based settings
- Add tradingagents/config.py with TradingAgentsSettings Pydantic model
- Centralize all environment variable handling and API key management
- Add validation for log_level, llm_provider, and numeric bounds
- Update dataflows/config.py to use central config as backend
- Update logging.py to get settings from central config
- Update API key access in alpha_vantage, brave, and tavily modules
- Replace DEFAULT_CONFIG imports with get_config() calls
- Add 20 comprehensive tests for config module

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 03:20:41 -05:00
..
trending refactor: consolidate configuration management with Pydantic-based settings 2025-12-03 03:20:41 -05:00
__init__.py WIP 2025-09-26 16:17:50 +08:00
alpha_vantage.py Add Alpha Vantage API integration as primary data provider 2025-09-26 22:57:50 +08:00
alpha_vantage_common.py refactor: consolidate configuration management with Pydantic-based settings 2025-12-03 03:20:41 -05:00
alpha_vantage_fundamentals.py Add Alpha Vantage API integration as primary data provider 2025-09-26 22:57:50 +08:00
alpha_vantage_indicator.py feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
alpha_vantage_news.py feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
alpha_vantage_stock.py Add Alpha Vantage API integration as primary data provider 2025-09-26 22:57:50 +08:00
brave.py refactor: consolidate configuration management with Pydantic-based settings 2025-12-03 03:20:41 -05:00
config.py refactor: consolidate configuration management with Pydantic-based settings 2025-12-03 03:20:41 -05:00
google.py feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
googlenews_utils.py feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
interface.py feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
local.py feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
openai.py feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
reddit_utils.py chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07:00
stockstats_utils.py Add Alpha Vantage API integration as primary data provider 2025-09-26 22:57:50 +08:00
tavily.py refactor: consolidate configuration management with Pydantic-based settings 2025-12-03 03:20:41 -05:00
utils.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00
y_finance.py perf: replace iterrows() with vectorized operations in y_finance.py 2025-12-03 03:15:23 -05:00
yfin_utils.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00