Skip to main content

risk-return-metrics

Risk/return dossier for ONE symbol over a window: annualized return, volatility, Sharpe, Sortino, max drawdown, Calmar, win-rate. Auto-routes A-share / HK / US by suffix. Use when the user asks "how risky / how good is X", or wants 夏普 / 最大回撤 / 年化 over a window. **Why:** backed by our own `panda_data` (A-share) / `tqx_data` (HK/US) daily closes — no scraping, no external stats service. It turns a raw close series into the ratios an allocator actually reasons over in one call, instead of the agent hand-writing pandas each time. Metrics are computed on daily log-of-simple returns with 252 trading days/year; a 0-vol or 0-drawdown series yields `null` for the ratio that would divide by zero, never a crash. NOT a multi-stock screener (→ `factor_standardize`) and NOT a signal generator (→ `ma_crossover_signal`).

Zur Installation springen

Quellinformationen

Repository
XinAloha/skills
Letzte Quellaktivität
22. August 2026 um 14:54
Erkannte Sprache von SKILL.md
Englisch
Sterne
3
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.