API referenceMetrics

How the currencies you hold have moved

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.

GET
/api/b/v1/metrics/fx-movement

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.

Authorization

OAuth2PasswordBearer
AuthorizationBearer <token>

In: header

Query Parameters

days?Days
Range1 <= value <= 365
Default7
display_currency?|null
admin_access_token?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/api/b/v1/metrics/fx-movement"
{  "display_currency": "string",  "days": 0,  "moves": [    {      "from_currency": "string",      "to_currency": "string",      "rate": 0,      "previous_rate": 0,      "change_bps": 0,      "as_of": "2019-08-24T14:15:22Z",      "previous_as_of": "2019-08-24T14:15:22Z"    }  ],  "settleable": false}