calendar_advance
Advance a date by a specified tenor on QuantLib calendars, applying business-day conventions, end-of-month rules, and holiday overrides to return the adjusted date.
Instructions
Advance a date by a tenor on a QuantLib calendar (POST /calendar-advance).
Args:
calendar: engine Calendar enum value.
date: YYYY-MM-DD start date.
tenor_number: number of units; negative shifts backwards.
tenor_unit: engine TimeUnit (Days, Weeks, Months, Years, ...).
convention: engine BusinessDayConvention (Following,
ModifiedFollowing, Preceding, Unadjusted, ...).
end_of_month: apply the end-of-month rule (default False).
calendar_overrides: optional per-request holiday corrections.
summary = {input_date, advanced_date} taken from the engine's response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| calendar | Yes | ||
| convention | Yes | ||
| tenor_unit | Yes | ||
| end_of_month | No | ||
| tenor_number | Yes | ||
| calendar_overrides | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||