Get Strategy Returns
get_strategy_returnsReturn the grounded backtest metrics (ROI/Sharpe/win-rate/drawdown) for a strategy concept, each WITH the window it covers: latest_metrics.period is the backtest run's own time range and leaderboard carries the /api/v1/backtest/leaderboard figures for the same bot with their headline_period. They are different measurements — rank within one window only. Accepts the concept id (bt-cryptobull-blue) or the leaderboard slug (cryptobull-blue, bot-rsi-mean-reversion). Metrics come only from real rows — a strategy with no runs returns a note, never a fabricated number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy | Yes | Strategy concept slug (e.g. 'bt-odiv') or a /api/v1/backtest/leaderboard slug (e.g. 'cryptobull-blue') |