Exchange-provided metrics

Available in the "basic" pack of Derivatives Risk Indicators.

What is this endpoint for?

This endpoint is part of Derivatives Risk Indicatorsarrow-up-right. It can be used to get risk information such as greeks and IV in real-time.

Endpoints

gateway-v0-grpc.kaiko.ovh

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 Explorerarrow-up-right or Reference Data.

cbse

option

algo-btc

commodities

AlwaysSDICK_RISK

SDICK_RISK

circle-info

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: *

Fields: Perpetual Future

Field
Description
Example

Value

The value for the commodity in the received message. eg: 24h_volume or price

59583.2

legacySymbol

Exchange assigned instrument identifier

BTCUSDC_PERP

commodityKind

Always SDICK_RISK

SDICK_RISK

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

commodity:funding rate

The current funding rate.

-0.0000756735759807

comodity: predicted_funding_rate

The predicted funding rate for the next period.

-0.0000845044644161

commodity: ask

The best ask price from the order book at the time of funding rate calculation.

101937.0

commodity: ask_amount

The size of the best ask order from the order book at the time of funding rate calculation.

0.552

commodity: bid

The best bid price from the order book at the time of the funding rate calculation.

101936.0

commodity: bid_amount

The size of the best bid order from the order book at the time of funding rate calculation.

0.396

commodity: 24h_volume

The volume of the trades executed in the last 24 hours (can be in base_asset, quote_asset or the number of contracts)

140.235

commodity: open_interest

The total outstanding number of contracts (units in which open interest metrics are quoted vary by exchange)

144.817

Fields: Future

Field
Description
Example

Value

The value for the commodity in the received message. eg: 24h_volume or price

59583.2

commodityKind

Always SDICK_RISK

SDICK_RISK

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

commodity: time_to_expiry

The number of minutes remaining before expiry.

41504

commodity: nearby

The soonest expiring contract with the same base & quote asset on the specified exchange

boolean value

commodity: quarterly_nearby

The soonest expiring quarterly contract with the same base & quote asset on the specified exchange

boolean value

commodity: expiry

Expiration date of the contract

1737072000000000000

commodity: 24h_volume

The volume of the trades executed in the last 24 hours (can be in base_asset, quote_asset or the number of contracts)

2047.3

commodity: open_interest

The total outstanding number of contracts (units in which open interest metrics are quoted vary by exchange)

6813.4

commodity: ask

The price level of the best ask order from the order book at the time of message receipt.

97890.1

commodity: ask_amount

The size of the best ask order from the order book at the time of the message.

0.552

commodity: bid

The price level of the best bid order from the order book at the time of message receipt.

97878.4

commodity: bid_amount

The size of the best bid order from the order book at the time of the message.

0.396

Fields: Option

Field
Description
Example

Value

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

59583.2

commodityKind

Always SDICK_RISK

SDICK_RISK

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

commodity: time_to_expiry

The number of minutes remaining before expiry.

41504

commodity: nearby

The soonest expiring contract with the same base & quote asset on the specified exchange

boolean value

commodity: quarterly_nearby

The soonest expiring quarterly contract with the same base & quote asset on the specified exchange

boolean value

commodity: ask_iv

Implied volatility for the best ask.

0.8166587

commodity: bid_iv

Implied volatility for the best bid.

0.6817713

commodity: mark_iv

The implied volatility for the mark price.

0.7418202

commodity: delta

The delta value for the option.

-1.6532715362206545

commodity: gamma

The gamma value for the option.

3.7235607858486044

commodity: rho

The rho value for the option.

16.74149

commodity: theta

The theta value for the option.

0.0002888

commodity: vega

The vega value for the option.

0.0006550

commodity: strike_price

The strike price of the contract in USD

90000

commodity: underlying_index

Name of the underlying index

BTC-31JAN25

commodity: kind

Put or Call

C

commodity: expiry

Expiry

1738281600000000000

Request examples

Response Example

Last updated

Was this helpful?