Skip to main content

nautilus_symbol

Function nautilus_symbol 

Source
pub fn nautilus_symbol(raw_symbol: &str, share_class_space: bool) -> Symbol
Expand description

Converts a Databento symbol to a Nautilus symbol.

With share_class_space, a share class’s dot becomes a space (BRK.B -> BRK B), since a dot separates symbol and venue in instrument IDs and Interactive Brokers spells the class with a space. Parent (ES.FUT) and continuous (ES.c.0) symbols keep their dots.