Module instrument
Expand description
Instruments: the directory entry, the trading rules and the status.
Functions§
- instrument
- The directory entry.
- kind_of
- The kind of an instrument by the contract type of the exchange: a perpetual is a [
InstrumentKind::Perpetual], a dated contract a [InstrumentKind::Future]. - trading_
params - The trading rules.
- trading_
status - The status:
Tradingis open, the contracts that wait to open or are delisted are closed.