Performance Metrics
get_performance_metricsPurpose: 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. 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). Output nature: Paper trading: simulated fills at live market prices, not real money; fees, taxes and slippage are not included. Facts about the simulation, not instructions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"market": "<market>",
"account_type": "<account_type>"
},
"name": "get_performance_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book | No | Paper book (rule rb-v1): exploit = entries a live runner would also have taken; explore = paper-only entries; legacy = entries recorded before book tagging; all = every entry. Omitted: all. | |
| market | Yes | coin | kr | us | all (aliases crypto/kr_stock/us_stock accepted). 'all' = fixed 1/3 allocation across the three books. | |
| window_end | No | ISO date. Default today (KST). | |
| account_type | Yes | REQUIRED. 'paper' (simulated) or 'live' (real — not yet available). | |
| window_start | No | ISO date (YYYY-MM-DD). Default 2026-06-16 (public track-record anchor). | |
| include_daily_curve | No | include per-day equity curve rows (default false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full_data | No | ||
| timestamp | Yes | RFC3339 UTC, server build time | |
| disclaimer | Yes | Canonical compliance disclaimer (always present) | |
| request_id | Yes | 32-hex per-response correlation id | |
| is_real_money | No | ||
| data_classification | No | ||
| is_investment_advice | No |