Composite z-score = weighted sum của 6 factors:
| Factor | Weight | Logic |
|---|---|---|
| 🚀 Momentum | 20% | chg + (RSI-50)/10 — đo đà tăng/giảm |
| 📈 Trend | 25% | Price vs MA20/50/200 + ADX/25 |
| 🔊 Volume | 10% | log(vol/avg_20) — bất thường |
| 🦈 Smart Money | 20% | shark_pct + sum_5d_bil — cá mập gom/xả |
| 🌐 Foreign | 10% | foreign_net_5d — khối ngoại |
| 💎 Quality | 15% | -volatility — low vol = high quality |
Mỗi factor được standardize z-score across 456 mã (không phải absolute), capped ±3 để tránh outliers. Composite z-score weighted sum → ranking + percentile + tier:
GET /api/multifactor?market=VN&limit=50
UI bảng top/bottom với cột sector, signal, score, composite_z, tier. Click mã → mở phân tích chi tiết.
Use case: cuối phiên scan top composite_z trong 23 ngành → tìm "best of breed" mỗi ngành để build portfolio đa dạng nhưng strong.