Skip to main content

option_terms

Function option_terms 

Source
pub const fn option_terms(
    exchange: TardisExchange,
) -> (Option<ExerciseStyle>, Option<SettlementType>)
Expand description

Returns the option exercise style and settlement type for the given Tardis exchange.

Tardis metadata carries neither attribute, so each value follows the venue’s contract specification. A value is None for an exchange with no verified specification, and for Deribit settlement, which no single settlement type represents.