> ## Documentation Index
> Fetch the complete documentation index at: https://docs.centaur.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Performance comparison and evidence

> Compare requested traders, qualify their samples, and inspect permitted position contributions.

Use `POST /v2/trader-performance/query` (also `/api/v2/trader-performance/query`)
or MCP `compare_trader_performance` with `stats.read`:

```json theme={null}
{
  "traderIds": [101, 102],
  "sample": {
    "openedAt": { "gte": "2026-09-01T00:00:00Z", "lt": "2026-09-21T00:00:00Z" }
  },
  "horizons": ["7D"],
  "metrics": ["win_rate_pct", "mean_return_pct", "return_mean_over_sample_sd"],
  "minimumScoredPositions": 3,
  "include": ["definitions", "contributions"],
  "contributions": { "limit": 50 }
}
```

Resolve names separately, then supply 1–200 trader IDs. Select existing `1D`, `7D`
and `30D` horizons and the metrics you need: `mean_return_pct`, `median_return_pct`,
`win_rate_pct`, or `return_mean_over_sample_sd`. Optional `sample.assetIds` and
`sample.direction` intersect the sample. Opening intervals include `gte` and
exclude `lt`, with UTC microsecond precision. The default is January 1 UTC through
the current read time. Open and closed eligible positions both contribute.

Every available requested trader gets a row per requested horizon, including empty
or unqualified samples. Unknown or inaccessible IDs appear in the generic
`unavailableTraderIds` list. `minimumScoredPositions` annotates `qualified`; it does
not remove rows. When omitted, `qualified` is `null`. `sampled`, `scored` and
`coverage` describe the denominator. Coverage is zero for an empty sample.

The earliest active ready snapshot with a return scores each position and horizon,
even if an earlier snapshot is unready. A ready zero return counts as scored and
does not count as a win. The mean, median and win rate retain existing rounding to
two decimal places. The ratio divides the mean by sample standard deviation; it
is not annualized. Missing values remain `null`, with `unavailableMetrics`
distinguishing no scores, insufficient scores and zero variance.

For example, returns of `20, 0, -10` yield a 33.33% win rate and 3.33% mean.
Returns of `10, 10` yield a 100% win rate and 10% mean, but their zero-variance
ratio is `null`. With a requested minimum of three scores, the second trader
remains in the response with `qualified: false`.

`include: ["definitions"]` adds the method explanation. Contribution evidence
requires **both `stats.read` and `positions.read`**. Pages default to 50 rows,
maximum 200. Each row identifies the position and horizon, selected snapshot
status, whether it contributed, and its return or one unavailable reason.
An absent snapshot is `unavailable`; it is never inferred to be `too_young`.

Follow `contributions.nextCursor` with the same comparison controls; page size may
change. The cursor pins the opening sample and current observation revision. A
correction, relevant visibility change or change to authorized evidence membership
returns `409 PERFORMANCE_REVISION_CHANGED`. Restart without the cursor. A revision
is not a historical replay token.

Raw contribution pages apply the caller's position history allowance independently
of the aggregate sample. Compare `eligibleContributions` with
`sampledContributions` and retain `historyRestricted`. Do not infer that an
exhausted restricted page explains every aggregate contribution.

The Assistant's delegated comparison tool uses aggregate permission only. It can
request definitions, then retrieve permitted position evidence separately through
its position tool. Those later reads are separate observations.

When comparing results across tools, establish the method/profile, population,
opening sample, horizon, weights, permissions and observation revision. Do not
guess that caching or rounding caused a difference. Rounded per-trader summaries
cannot reconstruct a pooled median or pooled ratio.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.