Ranked leaders to copy (skill-based, ML-28)
Return copy-trade leaders ranked by risk-adjusted skill (ML-28).
Read-only, optional-auth (public leaderboard-style). Behind
ML_LEADER_RANKING_ENABLED: when on, sort defaults to skill (raw
pnl is preserved as an option); when off, the ordering is unchanged raw PnL
regardless of sort. Provisional leaders (below ML_LEADER_MIN_RESOLVED
resolved markets) are labelled and never top-ranked. Each entry carries
rank_reasons (machine codes) that the frontend maps to explanation chips.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
Query parameters
Ordering: ‘skill’ (risk-adjusted, default when ranking is enabled) or ‘pnl’ (raw profit). When ranking is disabled the order is always raw PnL.
Response
Resolved-market gate below which a leader is provisional
Whether ML_LEADER_RANKING_ENABLED is on (skill ordering available)
Ordering applied: ‘skill’ or ‘pnl’

