Trading performance metrics
get_trading_metricsRetrieve performance statistics like total return, win rate, and profit factor to assess your trading strategy on Thndr.
Instructions
Performance statistics: total return, win rate, profit factor, expectancy, average win/loss, risk/reward, average holding period, and per-instrument stats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO-8601 date (Cairo market day, e.g. 2026-01-31) or datetime (2026-01-31T10:00:00+02:00) | |
| from | No | ISO-8601 date (Cairo market day, e.g. 2026-01-31) or datetime (2026-01-31T10:00:00+02:00) | |
| market | No | Market: "egypt" (EGX, default), "us" (NYSE/Nasdaq via Alpaca), "uae" (ADX) or "simulator" (paper trading) | egypt |
| period | No | Preset range in Cairo market days, up to now: today, 7d/30d/90d (last N days incl. today), mtd, ytd, 1y (last 12 months). Do not combine with from/to. |