DataDownloaderGetParameters
QuantConnect.DataDownloaderGetParameters
DataDownloaderGetParameters(
symbol: Union[Symbol, str, BaseContract, Security],
resolution: Resolution,
start_utc: Union[datetime, date],
end_utc: Union[datetime, date],
tick_type: Optional[TickType] = None,
)
Bases: Object
Model class for passing in parameters for historical data
Initialize model class for passing in parameters for historical data
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
symbol
|
Union[Symbol, str, BaseContract, Security]
|
Symbol for the data we're looking for. |
required |
resolution
|
Resolution
|
Resolution of the data request |
required |
start_utc
|
Union[datetime, date]
|
Start time of the data in UTC |
required |
end_utc
|
Union[datetime, date]
|
End time of the data in UTC |
required |
tick_type
|
Optional[TickType]
|
|
None
|
start_utc
start_utc: datetime
Start time of the data in UTC
end_utc
end_utc: datetime
End time of the data in UTC
get_data_downloader_parameter_for_all_mapped_symbols
get_data_downloader_parameter_for_all_mapped_symbols(
map_file_provider: IMapFileProvider,
exchange_time_zone: Any,
) -> Sequence[DataDownloaderGetParameters]
Get DataDownloaderGetParameters for all mapped symbol with appropriate ticker name in specific date time range.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
map_file_provider
|
IMapFileProvider
|
Provides instances of MapFileResolver at run time |
required |
exchange_time_zone
|
Any
|
Provides the time zone this exchange |
required |
Returns:
| Type | Description |
|---|---|
Sequence[DataDownloaderGetParameters]
|
Return DataDownloaderGetParameters with different DataDownloaderGetParameters.start_utc - DataDownloaderGetParameters.end_utc range and symbol. |
to_string
to_string() -> str
Returns a string representation of the DataDownloaderGetParameters object.
Returns:
| Type | Description |
|---|---|
str
|
A string representing the object's properties. |