Skip to main content

Reference data

Combination Orders: Combination orders are treated as orders on outright books and are not differentiated in any way. Their orderbook_id links to a combination order book.

InstrumentDefinition (10)

FieldNameTypeLengthDescription
1instrumentIdint648Numeric instrument ID
2namechar100Name of instrument on Deribit
3kindint811=Future,2=Option,3=Perpetual,4=Spot, 5=FutureCombo, 6=OptionsCombo
4indexIdint648The associated index
5underlyingchar28The underlying future, only applicable to options. 0 for non-option instruments
6expirationTimeint648Nanoseconds since epoch. Time of expiration of the instrument.
7strikePriceint648Strike price of the option
8minOrderAmountint324Resolution of the amount
9flagsint81Attributes of the instrument, described in the table below
10blockLengthOfTickSizeStepsuint16216 (bytes)
11numberOfTickSizeStepsint81Number of tick size steps. Maximum set to 3.
->12tickSizeint648Tick size applicable to price equal to or greater than tickPrice. Trades can occur off-tick
->13tickPriceint648Any absolute price equal or larger than tickPrice shall be rounded to tickSize
14blockLengthOfLegsuint1625 (bytes)
15numberOfLegsint81Number of legs in the combination instrument. Maximum 4
->16legInstrumentIdint324Numeric instrumentId of the leg instrument
->17ratioint81The amount of the leg traded per combination instrument unit. Positive values indicate buying the leg when buying the combination instrument. Vice versa for negative values
18stateint810=Open
1=Locked
2=Settlement
3=Inactive
4=Halted
5=Delivered
The table below outlines the content of field 9 (flags) of InstrumentDefinition.
Bit number (from last to first)NameDescription
1kind1=Option
2=Future
3=Combination
4=Spot
2optionType1=Call
2=Put
3instrumentType1=Inverse
2=Linear
4Reserved for future use
5Reserved for future use
6Reserved for future use
7Reserved for future use
8Reserved for future use

IndexDefinition (11)

FieldNameTypeLengthDescription
1indexIdint648Numeric instrument ID
2namechar28Name of index on Deribit