Lean
$LEAN_TAG$
|
Provides the mapping between Lean symbols and brokerage specific symbols. More...
Public Member Functions | |
string | GetBrokerageSymbol (Symbol symbol) |
Converts a Lean symbol instance to a brokerage symbol More... | |
Symbol | GetLeanSymbol (string brokerageSymbol, SecurityType securityType, string market, DateTime expirationDate=default(DateTime), decimal strike=0, OptionRight optionRight=0) |
Converts a brokerage symbol to a Lean symbol instance More... | |
Provides the mapping between Lean symbols and brokerage specific symbols.
Definition at line 23 of file ISymbolMapper.cs.
string QuantConnect.Brokerages.ISymbolMapper.GetBrokerageSymbol | ( | Symbol | symbol | ) |
Converts a Lean symbol instance to a brokerage symbol
symbol | A Lean symbol instance |
Implemented in QuantConnect.Brokerages.SymbolPropertiesDatabaseSymbolMapper.
Symbol QuantConnect.Brokerages.ISymbolMapper.GetLeanSymbol | ( | string | brokerageSymbol, |
SecurityType | securityType, | ||
string | market, | ||
DateTime | expirationDate = default(DateTime) , |
||
decimal | strike = 0 , |
||
OptionRight | optionRight = 0 |
||
) |
Converts a brokerage symbol to a Lean symbol instance
brokerageSymbol | The brokerage symbol |
securityType | The security type |
market | The market |
expirationDate | Expiration date of the security(if applicable) |
strike | The strike of the security (if applicable) |
optionRight | The option right of the security (if applicable) |
Implemented in QuantConnect.Brokerages.SymbolPropertiesDatabaseSymbolMapper.