CAS 6


makebusinessdaybond
- Date

Summary

Return the current or first US Bond Market business day.

Description

Return the current or first US Bond Market business day.

Optional left argument specifies if the next (default) or previous business day should be returned.

If the Date is already a business day, there is no change in result.

Examples

makebusinessdaybond 20211225
0 makebusinessdaybond 20211225
1 makebusinessdaybond 20210601

Syntax

{NextOrPrev} makebusinessdaybond Date

Left Arguments

Name Data Type Input Type Description Optional Default
NextOrPrev Boolean Field, Constant CCYYMMDD Yes

Right Arguments

Name Data Type Input Type Description Optional Default
Date Date Field, Constant CCYYMMDD No

Result

Type: Date

US Bond Market business day.



Build 6.0.1063