Commit Graph

2 Commits

Author SHA1 Message Date
Michael Simard
f5d05192b9 Fix Polygon API date range to avoid missing data
- End date now uses yesterday to ensure data availability
- Polygon may not have current day data immediately
- Successfully tested with AAPL and TSLA charts

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-26 12:06:28 -06:00
Michael Simard
639abc71f6 Replace Yahoo Finance with Polygon.io for chart data
- Add Polygon.io API client for reliable historical data access
- Update bot to use Polygon instead of Yahoo Finance for charts
- Add POLYGON_API_KEY to config and environment example
- Polygon free tier: 5 API calls/minute, more reliable than Yahoo
- Fallback to FinViz chart URL when Polygon unavailable

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-26 11:48:42 -06:00