A closing balance per day
What this wallet held at the end of each day, oldest first. Each point is the `balance_after` of the last entry on or before that day, which is the ledger's own running total — so a sparkline drawn from this agrees with the statement rather than approximating it. A day with no movement repeats the previous close, because that is what the balance was. Days before the wallet held anything are omitted rather than reported as zero: a leading zero draws a rise out of an account that did not exist.
What this wallet held at the end of each day, oldest first.
Each point is the balance_after of the last entry on or before that day,
which is the ledger's own running total — so a sparkline drawn from this
agrees with the statement rather than approximating it.
A day with no movement repeats the previous close, because that is what the balance was. Days before the wallet held anything are omitted rather than reported as zero: a leading zero draws a rise out of an account that did not exist.
Authorization
OAuth2PasswordBearer In: header
Query Parameters
3 <= length <= 31 <= value <= 36530Cookie Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/api/b/v1/metrics/balance-history?currency=str"{ "currency": "string", "points": [ { "at": "2019-08-24T14:15:22Z", "balance_minor": 0 } ]}This period against the last GET
Money in, money out, net and closing balance, with the period before. The comparison window is the same length immediately before, not the previous calendar month. Comparing a partial month against a whole one shows a fall that is an artefact of the calendar, which is the classic way a dashboard invents bad news. Reported per currency and never summed. Adding 500 EUR to 500 USD gives 1000 of nothing; `/fx/display/balance` is the endpoint that converts, and it says when it could not price a leg.
How the currencies you hold have moved GET
Each held currency against the display currency, then and now. Both ends are the newest rate at or before their moment, so a weekend with no quotes compares against Friday rather than reporting nothing. A pair with no rate at either end comes back with a null move. That is not the same as no movement, and a client should render it as a dash — reading an absent rate as 0% is how a screen tells somebody a currency is stable when nobody has priced it in a week. Reference rates only. `settleable` is always false, and `/fx/quotes` is where a trade is priced.