get_performance_metrics
Purpose: Portfolio-level performance metrics (MDD / Sharpe / Sortino / Calmar / monthly returns / equity curve) over a FIXED window — the single canonical computation path shared by the OneQAZ blog and external clients. Triggers (casual questions too): "what's the max drawdown?", "MDD 얼마야?", "샤프 비율 보여줘", "monthly returns table?", "트랙레코드 지표", "에쿼티 커브 데이터". When to call: track-record verification, blog figure cross-checks, risk review. Prerequisites: none. Next steps: get_trade_history for the underlying trades, analyze_trades for breakdowns. Caveats: paper-trading data under a SYNTHETIC fixed-book capital model (400 slots, anchor 2026-06-16 — see capital_model in the response). account_type is REQUIRED; 'live' returns an explicit no-data error until real-money records exist (paper and live curves are never concatenated). Fixed window → same inputs always reproduce the same numbers (as-of verifiable).
Args: market: coin | kr | us | all (aliases crypto/kr_stock/us_stock accepted). 'all' = fixed 1/3 allocation across the three books. account_type: REQUIRED. 'paper' (simulated) or 'live' (real — not yet available). window_start: ISO date (YYYY-MM-DD). Default 2026-06-16 (public track-record anchor). window_end: ISO date. Default today (KST). include_daily_curve: include per-day equity curve rows (default false).
Disclaimer: Information only, not investment advice. Simulated performance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | ||
| window_end | No | ||
| account_type | Yes | ||
| window_start | No | ||
| include_daily_curve | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||