Exchange data
Version: v1
GET /api/futures/exchange-data/candles
Summary:
Candles history
Request Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
DateFrom | query | No | dateTime | |
DateTo | query | No | dateTime | |
CurrencyPair | query | No | string | |
CandleTimePeriod | query | OneMinute = 60,ThreeMinutes = 180,FiveMinutes = 300, FifteenMinutes = 900, ThirtyMinutes = 1800, OneHour = 3600, FourHour = 14400, EightHour = 28800, OneDay = 86400, OneWeek = 604800, OneMonth = 2592000 | No | integer |
Response model
[
{
"currencyPairCode": "string",
"openPrice": 0,
"closePrice": 0,
"maxPrice": 0,
"minPrice": 0,
"candleTimePeriod": 60,
"volume": 0,
"volumeBase": 0,
"openTimestamp": "2024-04-26T04:34:22.189Z",
"closeTimestamp": "2024-04-26T04:34:22.189Z"
}
]
Response codes
Code | Description |
---|---|
200 | Success |
GET /api/futures/exchange-data/pairs
Summary:
Currency pairs info
Response model
[
{
"id": 0,
"сurrencyPairCode": "string",
"isActive": true,
"basePricePrecision": 0,
"quantityPrecision": 0,
"quotePricePrecision": 0,
"contractValue": 0,
"fundingRate": 0,
"fundingRateStartTimestamp": "2024-04-26T04:41:06.711Z",
"fundingRateFinishTimestamp": "2024-04-26T04:41:06.711Z"
}
]
Response codes
Code | Description |
---|---|
200 | Success |