This function calculates the number of days from the beginning of the coupon period to the settlement date
- Library: PQL \ Spreadsheet \ Financial
- Compatibility: Any content (regardless of data source) in the Tabulate spreadsheet module
Settlement date for the security
Maturity date for the security
Frequency of payment, number of coupon payments per year; must be 1, 2, or 4
Integer representing the basis for day count
This function is the same as the Microsoft Excel 'COUPDAYBS' function - using the same inputs, logic and outputs.