pub struct OptionsInstrument {
pub symbol: String,
pub status: String,
pub base_coin: String,
pub quote_coin: String,
pub settle_coin: String,
pub option_type: String,
pub launch_time: u64,
pub delivery_time: u64,
pub delivery_fee_rate: String,
pub price_filter: PriceFilter,
pub lot_size_filter: LotSizeFilter,
}Expand description
Represents an options instrument.
Contains details about an options contract. Not relevant for perpetual futures but included for completeness.
Fields§
§symbol: StringThe trading pair symbol (e.g., “BTC-30DEC22-50000-C”).
Identifies the options contract. Not relevant for perpetuals.
status: StringThe trading status (e.g., “Trading”).
Indicates if the options contract is tradable. Not relevant for perpetuals.
base_coin: StringThe base coin (e.g., “BTC”).
The underlying asset of the options contract. Not relevant for perpetuals.
quote_coin: StringThe quote coin (e.g., “USDT”).
The currency used to quote the options contract. Not relevant for perpetuals.
settle_coin: StringThe settlement coin (e.g., “USDT”).
The currency used for settlement. Not relevant for perpetuals.
option_type: StringThe type of option (e.g., “Call”, “Put”).
Specifies whether the option is a call or put. Not relevant for perpetuals.
launch_time: u64The launch time of the options contract (Unix timestamp in milliseconds).
Indicates when the contract was listed. Not relevant for perpetuals.
delivery_time: u64The delivery time of the options contract (Unix timestamp in milliseconds).
Indicates the expiry date of the option. Not relevant for perpetuals.
delivery_fee_rate: StringThe delivery fee rate for the options contract.
Specifies the fee for settlement. Not relevant for perpetuals.
price_filter: PriceFilterThe price constraints.
Defines price constraints for options trading. Not relevant for perpetuals.
lot_size_filter: LotSizeFilterThe lot size constraints.
Defines order quantity constraints for options trading. Not relevant for perpetuals.
Trait Implementations§
Source§impl Clone for OptionsInstrument
impl Clone for OptionsInstrument
Source§fn clone(&self) -> OptionsInstrument
fn clone(&self) -> OptionsInstrument
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more