Lean
$LEAN_TAG$
|
Represents the key to a single entry in the MarketHoursDatabase or the SymbolPropertiesDatabase More...
Public Member Functions | |
SecurityDatabaseKey (string market, string symbol, SecurityType securityType) | |
Initializes a new instance of the SecurityDatabaseKey class More... | |
SecurityDatabaseKey | CreateCommonKey () |
Based on this entry will initializes the generic market and security type instance of the SecurityDatabaseKey class More... | |
bool | Equals (SecurityDatabaseKey other) |
Indicates whether the current object is equal to another object of the same type. More... | |
override bool | Equals (object obj) |
Determines whether the specified object is equal to the current object. More... | |
override int | GetHashCode () |
Serves as the default hash function. More... | |
override string | ToString () |
Returns a string that represents the current object. More... | |
Static Public Member Functions | |
static SecurityDatabaseKey | Parse (string key) |
Parses the specified string as a SecurityDatabaseKey More... | |
static bool | operator== (SecurityDatabaseKey left, SecurityDatabaseKey right) |
Security Database Key == operator More... | |
static bool | operator!= (SecurityDatabaseKey left, SecurityDatabaseKey right) |
Security Database Key != operator More... | |
Static Public Attributes | |
const string | Wildcard = "[*]" |
Represents that the specified symbol or market field will match all More... | |
Properties | |
string | Market [get] |
The market. If null, ignore market filtering More... | |
string | Symbol [get] |
The symbol. If null, ignore symbol filtering More... | |
SecurityType | SecurityType [get] |
The security type More... | |
Represents the key to a single entry in the MarketHoursDatabase or the SymbolPropertiesDatabase
Definition at line 23 of file SecurityDatabaseKey.cs.
QuantConnect.Securities.SecurityDatabaseKey.SecurityDatabaseKey | ( | string | market, |
string | symbol, | ||
SecurityType | securityType | ||
) |
Initializes a new instance of the SecurityDatabaseKey class
market | The market |
symbol | The symbol. specify null to apply to all symbols in market/security type |
securityType | The security type |
Definition at line 51 of file SecurityDatabaseKey.cs.
SecurityDatabaseKey QuantConnect.Securities.SecurityDatabaseKey.CreateCommonKey | ( | ) |
Based on this entry will initializes the generic market and security type instance of the SecurityDatabaseKey class
Definition at line 61 of file SecurityDatabaseKey.cs.
|
static |
Parses the specified string as a SecurityDatabaseKey
key | The string representation of the key |
Definition at line 71 of file SecurityDatabaseKey.cs.
bool QuantConnect.Securities.SecurityDatabaseKey.Equals | ( | SecurityDatabaseKey | other | ) |
Indicates whether the current object is equal to another object of the same type.
other | An object to compare with this object. |
Definition at line 96 of file SecurityDatabaseKey.cs.
override bool QuantConnect.Securities.SecurityDatabaseKey.Equals | ( | object | obj | ) |
Determines whether the specified object is equal to the current object.
obj | The object to compare with the current object. |
Definition at line 112 of file SecurityDatabaseKey.cs.
override int QuantConnect.Securities.SecurityDatabaseKey.GetHashCode | ( | ) |
Serves as the default hash function.
Definition at line 126 of file SecurityDatabaseKey.cs.
|
static |
Security Database Key == operator
Definition at line 141 of file SecurityDatabaseKey.cs.
|
static |
Security Database Key != operator
Definition at line 150 of file SecurityDatabaseKey.cs.
override string QuantConnect.Securities.SecurityDatabaseKey.ToString | ( | ) |
Returns a string that represents the current object.
Definition at line 163 of file SecurityDatabaseKey.cs.
|
static |
Represents that the specified symbol or market field will match all
Definition at line 28 of file SecurityDatabaseKey.cs.
|
get |
The market. If null, ignore market filtering
Definition at line 33 of file SecurityDatabaseKey.cs.
|
get |
The symbol. If null, ignore symbol filtering
Definition at line 38 of file SecurityDatabaseKey.cs.
|
get |
The security type
Definition at line 43 of file SecurityDatabaseKey.cs.