IndexSymbol
QuantConnect.Securities.Index.IndexSymbol
Bases: Object
Helper methods for Index Symbols
get_index_exchange
get_index_exchange(
symbol: Union[Symbol, str, BaseContract],
) -> str
Gets the actual exchange the index lives on
Returns:
| Type | Description |
|---|---|
str
|
The exchange of the index. |
try_get_index_market
try_get_index_market(
ticker: str, market: Optional[str]
) -> Tuple[bool, str]
Gets the lean market for this index ticker
Returns:
| Type | Description |
|---|---|
Tuple[bool, str]
|
The market of the index. |