Skip to content

IPrimaryExchangeProvider

QuantConnect.Interfaces.IPrimaryExchangeProvider

Primary Exchange Provider interface

get_primary_exchange

get_primary_exchange(
    security_identifier: SecurityIdentifier,
) -> Exchange

Gets the primary exchange for a given security identifier

Parameters:

Name Type Description Default
security_identifier SecurityIdentifier

The security identifier to get the primary exchange for

required

Returns:

Type Description
Exchange

Returns the primary exchange or null if not found.