Function kind_of
pub fn kind_of(contract_type: &str) -> InstrumentKindExpand description
The kind of an instrument by the contract type of the exchange: a perpetual is a [InstrumentKind::Perpetual],
a dated contract a [InstrumentKind::Future].
pub fn kind_of(contract_type: &str) -> InstrumentKindThe kind of an instrument by the contract type of the exchange: a perpetual is a [InstrumentKind::Perpetual],
a dated contract a [InstrumentKind::Future].