Lean  $LEAN_TAG$
QuantConnect.Data.Auxiliary.MapFilePrimaryExchangeProvider Class Reference

Implementation of IPrimaryExchangeProvider from map files. More...

Inheritance diagram for QuantConnect.Data.Auxiliary.MapFilePrimaryExchangeProvider:
[legend]

Public Member Functions

 MapFilePrimaryExchangeProvider (IMapFileProvider mapFileProvider)
 Constructor for Primary Exchange Provider from MapFiles More...
 
Exchange GetPrimaryExchange (SecurityIdentifier securityIdentifier)
 Gets the primary exchange for a given security identifier More...
 

Detailed Description

Implementation of IPrimaryExchangeProvider from map files.

Definition at line 26 of file MapFilePrimaryExchangeProvider.cs.

Constructor & Destructor Documentation

◆ MapFilePrimaryExchangeProvider()

QuantConnect.Data.Auxiliary.MapFilePrimaryExchangeProvider.MapFilePrimaryExchangeProvider ( IMapFileProvider  mapFileProvider)

Constructor for Primary Exchange Provider from MapFiles

Parameters
mapFileProviderMapFile to use

Definition at line 35 of file MapFilePrimaryExchangeProvider.cs.

Member Function Documentation

◆ GetPrimaryExchange()

Exchange QuantConnect.Data.Auxiliary.MapFilePrimaryExchangeProvider.GetPrimaryExchange ( SecurityIdentifier  securityIdentifier)

Gets the primary exchange for a given security identifier

Parameters
securityIdentifierThe security identifier to get the primary exchange for
Returns
Returns the primary exchange or null if not found

Implements QuantConnect.Interfaces.IPrimaryExchangeProvider.

Definition at line 46 of file MapFilePrimaryExchangeProvider.cs.

Here is the call graph for this function:

The documentation for this class was generated from the following file: