Deribit · Schema
Publicgetmarkpricechartdataresponse
DerivativesCryptocurrencyBitcoinEthereumOptionsFuturesPerpetualsTradingMarket DataBlock TradingWebSocketFinancial
Properties
| Name | Type | Description |
|---|---|---|
| jsonrpc | string | The JSON-RPC version (2.0) |
| id | integer | The id that was sent in the request |
| result | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api-evangelist.github.io/deribit/json-schema/PublicGetMarkpriceChartDataResponse.json",
"title": "Publicgetmarkpricechartdataresponse",
"properties": {
"jsonrpc": {
"type": "string",
"enum": [
"2.0"
],
"description": "The JSON-RPC version (2.0)"
},
"id": {
"type": "integer",
"description": "The id that was sent in the request"
},
"result": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ok",
"no_data"
],
"description": "Status of the query: `ok` or `no_data`"
},
"ticks": {
"type": "array",
"items": {
"$ref": "#/components/schemas/timestamp"
},
"description": "Values of the time axis given in milliseconds since UNIX epoch"
},
"open": {
"type": "array",
"items": {
"$ref": "#/components/schemas/quote_price"
},
"description": "List of prices at open (one per candle)"
},
"close": {
"type": "array",
"items": {
"$ref": "#/components/schemas/quote_price"
},
"description": "List of prices at close (one per candle)"
},
"high": {
"type": "array",
"items": {
"$ref": "#/components/schemas/quote_price"
},
"description": "List of highest price levels (one per candle)"
},
"low": {
"type": "array",
"items": {
"$ref": "#/components/schemas/quote_price"
},
"description": "List of lowest price levels (one per candle)"
}
}
}
},
"required": [
"jsonrpc",
"result"
],
"type": "object"
}