Skip to main content

ensure_subscription_routes

Function ensure_subscription_routes 

Source
pub fn ensure_subscription_routes(
    ids: &[InstrumentId],
    client_id: Option<&ClientId>,
    cache: &Cache,
) -> Result<()>
Expand description

Checks identifier-list routing for instrument metadata, books, status, close, and option greeks.

External data clients handle these lists themselves.

ยงErrors

Returns an error if the client is not external and the list contains multiple IDs with a synthetic member.