bayesline.api.equity.AsyncCalendarApi.get

bayesline.api.equity.AsyncCalendarApi.get#

abstract async AsyncCalendarApi.get(*, start: str | date | datetime | None = None, end: str | date | datetime | None = None) list[date]#

Parameters#

start: DateLike, optional

The start date of the data to return, inclusive.

end: DateLike, optional

The end date of the data to return, inclusive.

Returns#

list[dt.date]

A list of all trade dates this calendar covers, between the start and end dates, inclusive, if these are provided.