TimeFrame.range

time.TimeFrame.range(start_date, end_date)

Alternate constructor: start and end date (inclusive).

Parameters

start_date: date | str

The starting date. If a date is passed as a string, it will be parsed using ISO-8601 format.

end_date: date | str

The final date included in the time frame. If a date is passed as a string, it will be parsed using ISO-8601 format.