Last updated: 2023-03-16.
tf_quant_finance.datetime.BusinessDaySchedule#
Generates schedules containing every business day in a period.
tf_quant_finance.datetime.BusinessDaySchedule(
*, start_date, end_date, holiday_calendar, backward=False
)
Attributes:#
end_dategenerate_backwardsholiday_calendarstart_date
Methods#
dates
dates()
Returns the dates as computed from the schedule as a DateTensor.
Constructs the date schedule from the supplied data. For more details see the initializer docstring.
Returns:#
DateTensor of rank one more than start_date or end_date
(depending on backwards), representing schedules for each element
of the input.