API दस्तावेज़ीकरण
get
/api/v1/Investment/account-performanceReturns net profit percent, profit factor, and max drawdown for the caller's investment accounts and listed strategies. Call this after listing wallets or strategies so the page can render first.
Investment
पैरामीटर
accountIds
query · string
वैकल्पिक
version
path · string
आवश्यक
जवाब
- 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 } ] - 401The caller is not signed in.
- 404The caller is not signed in or has no user id.