Skip to main content

Module instrument

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: Trading is open, the contracts that wait to open or are delisted are closed.