diff --git a/examples/README.md b/examples/README.md new file mode 100644 index 0000000..05a037c --- /dev/null +++ b/examples/README.md @@ -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. diff --git a/examples/candlestick_chart_example.png b/examples/candlestick_chart_example.png new file mode 100644 index 0000000..cf4732a Binary files /dev/null and b/examples/candlestick_chart_example.png differ