Provides access to specific properties for various symbols
More...
|
bool | ContainsKey (string market, string symbol, SecurityType securityType) |
| Check whether symbol properties exists for the specified market/symbol/security-type More...
|
|
bool | ContainsKey (string market, Symbol symbol, SecurityType securityType) |
| Check whether symbol properties exists for the specified market/symbol/security-type More...
|
|
bool | TryGetMarket (string symbol, SecurityType securityType, out string market) |
| Tries to get the market for the provided symbol/security type More...
|
|
SymbolProperties | GetSymbolProperties (string market, Symbol symbol, SecurityType securityType, string defaultQuoteCurrency) |
| Gets the symbol properties for the specified market/symbol/security-type More...
|
|
IEnumerable< KeyValuePair< SecurityDatabaseKey, SymbolProperties > > | GetSymbolPropertiesList (string market, SecurityType securityType) |
| Gets a list of symbol properties for the specified market/security-type More...
|
|
IEnumerable< KeyValuePair< SecurityDatabaseKey, SymbolProperties > > | GetSymbolPropertiesList (string market) |
| Gets a list of symbol properties for the specified market More...
|
|
bool | SetEntry (string market, string symbol, SecurityType securityType, SymbolProperties properties) |
| Set SymbolProperties entry for a particular market, symbol and security type. More...
|
|
Provides access to specific properties for various symbols
Definition at line 27 of file SymbolPropertiesDatabase.cs.
◆ SymbolPropertiesDatabase()
QuantConnect.Securities.SymbolPropertiesDatabase.SymbolPropertiesDatabase |
( |
string |
file | ) |
|
|
protected |
◆ ContainsKey() [1/2]
bool QuantConnect.Securities.SymbolPropertiesDatabase.ContainsKey |
( |
string |
market, |
|
|
string |
symbol, |
|
|
SecurityType |
securityType |
|
) |
| |
Check whether symbol properties exists for the specified market/symbol/security-type
- Parameters
-
market | The market the exchange resides in, i.e, 'usa', 'fxcm', ect... |
symbol | The particular symbol being traded |
securityType | The security type of the symbol |
Definition at line 72 of file SymbolPropertiesDatabase.cs.
◆ ContainsKey() [2/2]
bool QuantConnect.Securities.SymbolPropertiesDatabase.ContainsKey |
( |
string |
market, |
|
|
Symbol |
symbol, |
|
|
SecurityType |
securityType |
|
) |
| |
Check whether symbol properties exists for the specified market/symbol/security-type
- Parameters
-
market | The market the exchange resides in, i.e, 'usa', 'fxcm', ect... |
symbol | The particular symbol being traded (Symbol class) |
securityType | The security type of the symbol |
Definition at line 84 of file SymbolPropertiesDatabase.cs.
◆ TryGetMarket()
bool QuantConnect.Securities.SymbolPropertiesDatabase.TryGetMarket |
( |
string |
symbol, |
|
|
SecurityType |
securityType, |
|
|
out string |
market |
|
) |
| |
Tries to get the market for the provided symbol/security type
- Parameters
-
symbol | The particular symbol being traded |
securityType | The security type of the symbol |
market | The market the exchange resides in Market |
- Returns
- True if market was retrieved, false otherwise
Definition at line 99 of file SymbolPropertiesDatabase.cs.
◆ GetSymbolProperties()
SymbolProperties QuantConnect.Securities.SymbolPropertiesDatabase.GetSymbolProperties |
( |
string |
market, |
|
|
Symbol |
symbol, |
|
|
SecurityType |
securityType, |
|
|
string |
defaultQuoteCurrency |
|
) |
| |
Gets the symbol properties for the specified market/symbol/security-type
- Parameters
-
market | The market the exchange resides in, i.e, 'usa', 'fxcm', ect... |
symbol | The particular symbol being traded (Symbol class) |
securityType | The security type of the symbol |
defaultQuoteCurrency | Specifies the quote currency to be used when returning a default instance of an entry is not found in the database |
- Returns
- The symbol properties matching the specified market/symbol/security-type or null if not found
For any derivative options asset that is not for equities, we default to the underlying symbol's properties if no entry is found in the database
Definition at line 122 of file SymbolPropertiesDatabase.cs.
◆ GetSymbolPropertiesList() [1/2]
Gets a list of symbol properties for the specified market/security-type
- Parameters
-
market | The market the exchange resides in, i.e, 'usa', 'fxcm', ect... |
securityType | The security type of the symbol |
- Returns
- An IEnumerable of symbol properties matching the specified market/security-type
Definition at line 160 of file SymbolPropertiesDatabase.cs.
◆ GetSymbolPropertiesList() [2/2]
Gets a list of symbol properties for the specified market
- Parameters
-
market | The market the exchange resides in, i.e, 'usa', 'fxcm', ect... |
- Returns
- An IEnumerable of symbol properties matching the specified market
Definition at line 179 of file SymbolPropertiesDatabase.cs.
◆ SetEntry()
bool QuantConnect.Securities.SymbolPropertiesDatabase.SetEntry |
( |
string |
market, |
|
|
string |
symbol, |
|
|
SecurityType |
securityType, |
|
|
SymbolProperties |
properties |
|
) |
| |
Set SymbolProperties entry for a particular market, symbol and security type.
- Parameters
-
market | Market of the entry |
symbol | Symbol of the entry |
securityType | Type of security for the entry |
properties | The new symbol properties to store |
- Returns
- True if successful
Definition at line 201 of file SymbolPropertiesDatabase.cs.
◆ FromDataFolder()
◆ FromCsvLine()
The documentation for this class was generated from the following file: