BaseDataDownloadConfig
QuantConnect.DownloaderDataProvider.Launcher.Models.BaseDataDownloadConfig
BaseDataDownloadConfig()
BaseDataDownloadConfig(
tick_type: TickType,
security_type: SecurityType,
resolution: Resolution,
start_date: Union[datetime, date],
end_date: Union[datetime, date],
market_name: str,
symbols: List[Symbol],
)
Bases: Object
Abstract base class for configuring data download parameters, including common properties and initialization logic.
Signature descriptions:
-
Initializes a new instance of the BaseDataDownloadConfig class.
-
Initializes a new instance of the DataDownloadConfig class with the specified parameters.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
tick_type
|
Optional[TickType]
|
The type of tick data to be downloaded. |
None
|
security_type
|
Optional[SecurityType]
|
The type of security for which data is being downloaded. |
None
|
resolution
|
Optional[Resolution]
|
The resolution of the data being downloaded. |
None
|
start_date
|
Optional[Union[datetime, date]]
|
The start date for the data download range. |
None
|
end_date
|
Optional[Union[datetime, date]]
|
The end date for the data download range. |
None
|
market_name
|
Optional[str]
|
The name of the market from which the data is being downloaded. |
None
|
symbols
|
Optional[List[Symbol]]
|
A list of symbols for which data is being downloaded. |
None
|
start_date
start_date: datetime
Gets the start date for the data download.
end_date
end_date: datetime
Gets the end date for the data download.
market_name
market_name: str
Gets or sets the market name for which the data will be downloaded.
security_type
security_type: SecurityType
Gets the type of security for which the data is being downloaded.
data_type
data_type: Type
The type of data based on TickTypes
parse_date
parse_date(date: str) -> datetime
Parses a string to a DateTime using a specific date format.
This codeEntityType is protected.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
date
|
str
|
The date string to parse. |
required |
Returns:
| Type | Description |
|---|---|
datetime
|
The parsed DateTime value. |