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.
API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register
Annual coupon rate as a decimal
0.06
Time to maturity in years
10
Yield to maturity as a decimal
0.05
Face value of the bond
100
Coupon payment frequency per year
1, 2, 4, 12 2