TradingAgents/tradingagents/backtesting
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
..
__init__.py feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
agent_integration.py feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
data_loader.py feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
engine.py feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00
metrics.py feat: add backtesting framework and fix code quality issues 2025-12-03 02:55:28 -05:00