FuturesOptionsSymbolMappings
QuantConnect.Securities.Future.FuturesOptionsSymbolMappings
Bases: Object
Provides conversions from a GLOBEX Futures ticker to a GLOBEX Futures Options ticker
map
map(future_ticker: str) -> str
Returns the futures options ticker for the given futures ticker.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
future_ticker
|
str
|
Future GLOBEX ticker to get Future Option GLOBEX ticker for |
required |
Returns:
| Type | Description |
|---|---|
str
|
Future option ticker. Defaults to future ticker provided if no entry is found. |
map_from_option
map_from_option(future_option_ticker: str) -> str
Maps a futures options ticker to its underlying future's ticker
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
future_option_ticker
|
str
|
Future option ticker to map to the underlying |
required |
Returns:
| Type | Description |
|---|---|
str
|
Future ticker. |