Calculate Modified Duration
quantlib-solver
Calculate Modified Duration
Calculate the modified duration of a bond - an approximation of the percentage price change for a 1% change in yield. Modified duration is derived from Macaulay duration and directly measures interest rate risk. Used extensively for hedging, DV01 calculations, and measuring portfolio sensitivity to parallel yield curve shifts. [Tier: STANDARD, Credits: 2]
POST
Calculate Modified Duration
Authorizations
API key for authentication. Get your key at https://api.fincept.in/auth/register
Body
application/json
Annual coupon rate as a decimal
Example:
0.06
Time to maturity in years
Example:
10
Yield to maturity as a decimal
Example:
0.05
Face value of the bond
Example:
100
Coupon payment frequency per year
Available options:
1, 2, 4, 12 Example:
2
