For the complete documentation index, see llms.txt. This page is also available as Markdown.

Derivatives pricing

Derivatives price endpoint.

This data is included in the following Kaiko packages:

  • Kaiko Derivatives Risk Indicators [Advanced]

  • Kaiko Derivatives Risk Indicators [Basic]

  • Reference Data [Advanced tier]

What is this endpoint for?

This endpoint can be used to get pricing information related to derivatives contracts.

Endpoints

gateway-v0-grpc.kaiko.ovh
gateway-v0-http.kaiko.ovh
https://gateway-v0-http.kaiko.ovh/api/stream/derivatives_instrument_metrics_v1

Request parameters

Parameter
Description
Examples

instrumentCriteria

A nested object to configure following properties for your stream:

  • exchange (String) - The code(s) for the exchange(s)

  • instrument_class (String) - The class(es) of the instrument(s) . The instrument must be a derivative class.

  • code (String) - The Kaiko code for the instrument.

Explore instruments, codes and exchanges in the Instrument Explorer or via API.

cbse

option

algo-btc

commodities

AlwaysSDICK_PRICE

SDICK_PRICE

Configuring a wildcard

A wildcard allows you to request all information we have on a specific instrument or exchange in the same stream. Use a * in place of the relevant exchange or class parameter.

For example, the configuration below would deliver all perpetual future contracts on OkEX. exchange: okex class: perpetual-future instrument: *

Response fields

Field
Description
Example

value

The value for the commodity (price, 24 hour volume etc) received in the message.

59583.2

legacySymbol

Exchange assigned Instrument identifier

btcusdcperpetual

exchange

Supported Exchanges

binc

commodity

The price of the underlying index, often as a weighted average across multiple exchanges' spot prices

index_price

The mark price of the contract. It is used for calculating profit and loss (PnL) and liquidation price. Designed to be fair and avoid price manipulation.

mark_price

Most recent traded price of derivative contract.

price

commodityKind

Always SDICK_PRICE

SDICK_PRICE

tsCollection

The timestamp for when Kaiko received the trade from the exchange.

2024-08-30T10:19:38.044166107Z

tsEvent

The timestamp for the interval.

2024-08-30T10:19:39.206955912Z

Request examples

cURL requests are intended for testing purposes only.

Information from this endpoint can be accessed through Google BigQuery. To get started, read our guide.

For more advanced users, you can access our full SDK here, where you'll find more coding languages, examples, and guidance.

Response Example

Last updated

Was this helpful?