get https://api.amberdata.com/market/swaps/ohlcv/exchange//latest
Retrieves the latest Open High Low Close Volume data for the specified exchange.
Instruments with no activity in the past 24 hours are ignored.
Exchanges Supported
This endpoint supports Bitmex, Huobi, Okex, and FTX.US.
RESPONSE DATA
Field | Type | Description |
---|---|---|
instrument | string | The name of the instrument. |
timestamp | number | string | The time at which the event occurred. |
open | number | The value when the bar/time interval started. |
high | number | The highest value within the bar/time interval. |
low | number | The lowest value within the bar/time interval. |
close | number | The value when the bar/time interval closed. |
volume | number | The volume within the bar/time interval. |