分析方法論
數據來源
- HK 即時報價: Tencent qt.gtimg.cn (sub-1min delay,PE/PB/market_cap/52w 同時提供)
- US 即時報價: YFinance (15-min delay)
- 新聞: Futu Cloud (free tier, 60 req/min)
- 歷史 bars: YFinance (HK 覆蓋不平均,新 foreign-listed 會 warn)
LLM 分析流程
- Fetch 報價 + 技術指標 (MA20/50/100/200 + RSI + MACD + 成交量比)
- Fetch 新聞 (last 5 條 + sentiment)
- Prompt MiniMax-M3 輸出 20 個 fields (score, sentiment, trade_direction, entry_zone, stop_loss, target_price, support_zone, resistance_zone, summary_md, full_md)
- 寫入 SQLite + commit 入 git
- Cloudflare Pages 自動 re-deploy static dashboard
評分模型
三維 weighted score:value × 0.25 + quality × 0.25 + momentum × 0.50。
day-trade 偏重動能,所以 score 高通常代表趨勢 + 動量 + 估值合理 嘅 combination。
操作建議
- 🟢 買入: score ≥ 70 + bullish trade_direction + positive sentiment
- 🔴 賣出: score ≤ 40 + bearish trade_direction + negative news flow
- 🟡 觀望: 其他 (default ~90% 股票)