Skip to main content

extract_selection_id

Function extract_selection_id 

Source
pub fn extract_selection_id(
    instrument_id: &InstrumentId,
) -> Result<(SelectionId, Decimal)>
Expand description

Extracts the selection ID and handicap from a Nautilus instrument ID.

ยงErrors

Returns an error if the symbol cannot be parsed into the expected format.