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