- Use index positions instead of datetime for x-axis - All candles now evenly spaced (no gaps for weekends/holidays) - Date labels still show actual dates at regular intervals - Updated example chart to reflect changes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Chart Examples
This directory contains example chart images generated by the Discord Stock Bot.
Candlestick Chart
File: candlestick_chart_example.png
Description: 30-day daily candlestick chart for AAPL generated using Polygon.io data and matplotlib.
Features:
- Green candles: Closing price > Opening price (bullish)
- Red candles: Closing price < Opening price (bearish)
- Dark theme optimized for Discord
- High/low wicks showing intraday range
- 30 days of historical data
Data Source: Polygon.io API (free tier) Resolution: Daily (1 day per candle) Chart Library: matplotlib 3.8.2
This chart is automatically generated and attached to Discord embeds when users execute !stock AAPL or similar commands.