TradingAgents/tradingagents
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
..
agents feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
backtesting feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
dataflows feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
graph feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
models feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
default_config.py feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
logging.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00