pub fn create_crypto_option(
info: &InstrumentInfo,
instrument_id: InstrumentId,
raw_symbol: Symbol,
activation: UnixNanos,
expiration: UnixNanos,
price_increment: Price,
size_increment: Quantity,
multiplier: Option<Quantity>,
margin_init: Decimal,
margin_maint: Decimal,
maker_fee: Decimal,
taker_fee: Decimal,
ts_event: UnixNanos,
ts_init: UnixNanos,
) -> InstrumentAny
Expand description
Create a crypto option instrument definition.
§Panics
Panics if the option_type
field of InstrumentInfo
is None
.