Daily DAX : Day 12 COUPDAYBS
The COUPDAYBS function in DAX is used to calculate the number of days from the beginning of the coupon period to the settlement date. This is useful for bond valuation and analysis.
Syntax
COUPDAYBS(<settlement>, <maturity>, <frequency>, [<basis>])
settlement: The bond's settlement date. This is the date after the issue date when the bond is traded to the buyer.
maturity: The bond's maturity date. This is the date when the bond expires.
frequency: The number of coupon payments per year (1, 2, or 4).
basis (optional): The type of day count basis to use (0 = US (NASD) 30/360, 1 = Actual/actual, 2 = Actual/360, 3 = Actual/365, 4 = European 30/360).
Example
Let's say you have a bond with the following details:
Settlement date: 2024-01-15
Maturity date: 2026-01-15
Coupon frequency: 2 (semi-annual payments)
Basis: 0 (US (NASD) 30/360)
Using the COUPDAYBS function:
COUPDAYBS("2024-01-15", "2026-01-15", 2, 0)
Comments
Post a Comment