Documentation API
Get Wallet Chart
/api/v1/Wallet/chart/{type}Returns value history for the signed-in user's accounts. For a single account ({type=id}): equity and performance (equity less net deposits). For an account type: one equity series per account, each with its currency and the current rate into the base currency, so the series can be added up into one total.
Wallet
Paramètres
type
path · string
period
query · integer
id
query · integer
isPublicAccountId
query · boolean
includeTransactions
query · boolean
debugTwr
query · boolean
version
path · string
Réponses
- 200Series as {[timestamp ms, value]} pairs in the account currency. With several accounts, {baseCurrency} is set and each series has {currency} and {baseRate} (null when no rate is available).
- 400No type given.application/json
{ "errorMessage": "No type given." } - 404User or settings not found.