Roll a date to a business day (modified following etc.)
adjust_dateRolls a date that falls on a weekend or holiday using a business-day convention: following, modified_following, preceding, modified_preceding. Typical for payment, coupon and invoice due dates. Deterministic, no AI. Price: $0.001 USDC per call via x402 (Base); the first 5 calls per day per client are free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date YYYY-MM-DD | |
| calendars | No | Comma list of calendars; a day is a business day only if open in all. XNYS (NYSE), FED (Fedwire/FedACH), TARGET2 (EUR), UK-ENG. Aliases: NYSE, US, ACH, EUR, UK. Default FED. | |
| convention | No | following | modified_following | preceding | modified_preceding. Default modified_following |