Skip to content

DataDownloaderGetParameters

QuantConnect.DataDownloaderGetParameters

DataDownloaderGetParameters(
    symbol: Union[Symbol, str, BaseContract],
    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]

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]

The type of tick to get. Defaults to QuantConnect.TickType.Trade

None

symbol

symbol: Symbol

Symbol for the data we're looking for.

resolution

resolution: Resolution

Resolution of the data request

start_utc

start_utc: datetime

Start time of the data in UTC

end_utc

end_utc: datetime

End time of the data in UTC

tick_type

tick_type: TickType

The type of tick to get

to_string

to_string() -> str

Returns a string representation of the DataDownloaderGetParameters object.

Returns:

Type Description
str

A string representing the object's properties.