COUPDAYS (PQL - xl)
This function returns the number of days in the coupon period that contains the settlement date
- Library: PQL \ Spreadsheet \ Financial
- Compatibility: Any content (regardless of data source) in the Tabulate spreadsheet module
Syntax
COUPDAYS(settlement, maturity, frequency, OPTIONAL basis)
Function Arguments
Name | Description | Type | Optional |
settlement | Settlement date for the security | StringOrNumber |
|
maturity | Maturity date for the security | StringOrNumber |
|
frequency | Frequency of payment, number of coupon payments per year; must be 1, 2, or 4 | Number |
|
basis | Integer representing the basis for day count | Number | Y |
Comments
This function is the same as the Microsoft Excel 'COUPDAYS' function - using the same inputs, logic and outputs.