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:
22
examples/README.md
Normal file
22
examples/README.md
Normal 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.
|
||||
BIN
examples/candlestick_chart_example.png
Normal file
BIN
examples/candlestick_chart_example.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
Reference in New Issue
Block a user