BitMEX Volume Calculation Warning
BitMEX Volume Calculation Warning
volume
field represents the number of contracts traded, not the volume in the base asset.To obtain the correct volume, users must adjust for contract size using the underlyingToPositionMultiplier
from our Reference endpoint.For details on this calculation and how to retrieve the correct values, see our Changelog Update.startDate
and endDate
) is:- 62 days of daily, hourly or minutely data
- This endpoint only stores the most recent 62 days of data.
- Queries with a startDate older than 62 days from the current date will result in a 410 error.
startDate
and endDate
, the API will return the most recent 62 days of daily data (not data older than 62 days from the current date).Authorizations
Path Parameters
The exchange for which to retrieve OHLCV
Query Parameters
[Required] The pair(s) for which to retrieve the most current data (comma separated). [Maximum] 50 pairs
[Optional] Payload only includes data after this date (inclusive). [Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00
[Optional] Payload only includes data before this date (exclusive). [Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00
[Optional] Time interval. [Defaults] minutes | hours | days*
[Optional] Time format of the timestamps in the return payload. [Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable