Skip to main content

Module symbol

Module symbol 

Source

Structs§

ParsedOptionSymbol
Parsed option symbol components with Decimal strike precision.

Functions§

parse_deribit_expiry 🔒
perp_underlying
Extract the underlying from a perp symbol (e.g., “BTC-PERP” -> “BTC”, “BTC” -> “BTC”). Returns None for option symbols or other hyphenated symbols that aren’t perps.