Waardering en analyse van obligaties in Python
Joshua Mayhew
Options Trader
Duration = % koersverandering bij 1% wijziging in rendement
Dollar duration = $ koersverandering bij 1% wijziging in rendement:
Laat zien hoeveel je wint of verliest bij renteverandering
$ \text{Dollar Duration} = \text{Duration} \times \text{Bond Price} \times 0.01$
DV01 = $ koersverandering bij 0,01% wijziging in rendement
0,01% = 1% van 1% = 1 basispunt
Afkorting van "dollar value of one basis point"
$ \text{DV01} = \text{Duration} \times \text{Bond Price} \times 0.0001$
Obligatie met prijs USD 92,28 en duration 7,98%:
dollar_duration = 92.28 * 7.98 * 0.01
print("Dollar Duration: ", dollar_duration)
Dollar Duration: 7.36
DV01 = 92.28 * 7.98 * 0.0001
print("DV01: ", DV01)
DV01: 0.0736
portfolio_dv01 = 10000
bond_dv01 = 0.0736
hedge_quantity = portfolio_dv01 / bond_dv01
print("Number of bonds to sell: ", hedge_quantity)
Number of bonds to sell: 135,869
bond_price = 92.28
hedge_amount = hedge_quantity * bond_price
print("Dollar amount to sell: USD", hedge_amount)
Dollar amount to sell: USD 12,538,043
$ \text{Price Change} = -100 \times \text{Dollar Duration} \times \Delta y$
Geschatte koersverandering bij 3% rentedaling:
-100 * 7.36 * -0.03
22.08
Werkelijke verandering na herwaardering:
-npf.pv(rate=0.02, nper=10, pmt=4, fv=100) - 92.28
25.69
Waardering en analyse van obligaties in Python