Skip to content

DataDownloadConfig

QuantConnect.DownloaderDataProvider.Launcher.Models.DataDownloadConfig

DataDownloadConfig()
DataDownloadConfig(
    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: BaseDataDownloadConfig

Represents the configuration for downloading data.

Signature descriptions:

  • Initializes a new instance of the DataDownloadConfig 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

data_type

data_type: Type

Gets the type of data download.

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.

resolution

resolution: Resolution

Gets or sets the resolution of the downloaded data.

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.

tick_type

tick_type: TickType

Gets or sets the type of tick data to be downloaded.

symbols

symbols: Sequence[Symbol]

Gets the list of symbols for which the data will be downloaded.

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.