Add chart generation: /chart command + /signal sends chart

- charts.py: candlestick (mplfinance, dark theme) with EMA20/50
  overlay, Bollinger Bands, RSI subplot and 30/70 reference lines
- /signal now sends chart image with analysis as caption
- New /chart <PAIR> <TF> command for standalone chart view

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Harwinder
2026-05-01 16:54:56 -04:00
parent b1687582ec
commit de96af798c
3 changed files with 148 additions and 3 deletions
+2
View File
@@ -2,3 +2,5 @@ python-telegram-bot>=21.6
httpx>=0.27.2
pandas>=2.2.3
python-dotenv>=1.0.1
mplfinance>=0.12.10b0
matplotlib>=3.9.0