pricing.calendar_windows()
The dates between calendar windows: years, quarters or months from 1
Usage
pricing.calendar_windows(
first_year,
last_year,
by="year",
)January of first_year through 31 December of last_year.
Parameters
first_year: intlast_year: intby: (year, quarter, month) = "year"
Returns
list of str- ISO dates, one more than there are windows.
Examples
>>> from prospicio.pricing import calendar_windows
>>> calendar_windows(2024, 2024, by="quarter")[‘2024-01-01’, ‘2024-04-01’, ‘2024-07-01’, ‘2024-10-01’, ‘2025-01-01’]