Add example candlestick chart to examples directory

- Save AAPL 30-day candlestick chart as reference
- Add README explaining chart features and data source
- Example shows green/red candles with dark theme

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Michael Simard
2025-12-26 12:15:27 -06:00
parent 1325863837
commit 7d88edb6e7
2 changed files with 22 additions and 0 deletions

22
examples/README.md Normal file
View File

@@ -0,0 +1,22 @@
# 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.