Documentation API
Get Account Performance
get
/api/v1/Investment/account-performanceReturns annualized return, win rate, Sharpe ratio, drawdown, value at risk, and profit factor for the caller's investment accounts and listed strategies. Win rate is winning trades divided by winning, losing, and break-even trades. The figures come from the statistics already read for this list. Call this after listing wallets or strategies so the page can render first.
Investment
Paramètres
accountIds
query · string
Facultatif
version
path · string
Requis
Réponses
- 200Performance rows for accounts the caller is allowed to see. Missing metrics are null.application/json
[ { "accountId": 3545, "profitPct": -2.91, "profitFactor": 0.22, "maxDrawdown": 39.9, "sharpeRatio": -0.17, "annualizedReturnPct": -10.43, "valueAtRisk": -0.29, "winRate": 8.33 } ] - 401The caller is not signed in.
- 404The caller is not signed in or has no user id.