TradingAgents/tradingagents/dataflows
Joseph O'Brien f70874982a feat: add backtesting framework and fix code quality issues
- Add complete backtesting engine with portfolio simulation, metrics calculation
  (Sharpe, Sortino, max drawdown), and agent integration
- Add Pydantic data models for market data, trading, portfolio, and backtest results
- Add backtest CLI command with SMA, RSI, and hold strategies
- Fix 24+ bare exception handlers with specific exception types
- Fix hardcoded path in default_config.py (use TRADINGAGENTS_DATA_DIR env var)
- Fix unclosed file handle in local.py with context manager
- Disable store=True in OpenAI API calls for data privacy
- Fix typo: rename aggresive_debator.py to aggressive_debator.py
- Add request timeouts (30s) to alpha_vantage_common.py and googlenews_utils.py

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 02:55:28 -05:00
..
trending feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -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 feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -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 feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
config.py chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07: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 feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
utils.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00
y_finance.py feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
yfin_utils.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00