Telegram Bot ที่ใช้ AI วิเคราะห์หุ้นและ crypto ผ่าน OpenRouter (Claude) สามารถสนทนาได้โดยตรงใน Telegram พร้อมดึงข้อมูลจากหลาย data source และส่งกราฟเป็นรูปภาพได้
GitHub: https://github.com/chawanjoey/stock-radar-bot (private)
Local path: ~/telegram-claude-bot/
Telegram ↔ bot.py (Python async, long-polling)
↓
OpenRouter (claude-3-5-haiku)
↓ function calling (agentic loop สูงสุด 8 รอบ)
┌──────────┼──────────┬──────────┬──────────┐
▼ ▼ ▼ ▼ ▼
TradingView FMP REST CoinGecko yfinance mplfinance
MCP API REST API + ta lib (Chart PNG)
(stdio) (direct) (direct) (SET Thai) (sendPhoto)
yahoo_price, market_snapshot, coin_analysis, multi_agent_analysisbacktest_strategy, walk_forward_backtest_strategy, compare_strategiesbollinger_scan, volume_breakout_scanner, smart_volume_scannertop_gainers, top_losers, rating_filtermulti_timeframe_analysis, market_sentiment, financial_newsfmp_company_profile — sector, P/E, market capfmp_income_statement — revenue, net income, EPSfmp_balance_sheet — assets, debt, equityfmp_earnings_calendar — วันประกาศผลกำไร