Python में बॉन्ड वैल्यूएशन और एनालिसिस
Joshua Mayhew
Options Trader
Duration = यील्ड में 1% बदलाव पर बॉन्ड प्राइस का % बदलाव
Dollar duration = यील्ड में 1% बदलाव पर बॉन्ड प्राइस का $ बदलाव:
बताता है ब्याज दर बदलने पर आप कितना कमाएँगे या खोएँगे
$ \text{Dollar Duration} = \text{Duration} \times \text{Bond Price} \times 0.01$
DV01 = यील्ड में 0.01% बदलाव पर बॉन्ड प्राइस का $ बदलाव।
0.01% = 1% का 1% = 1 बेसिस पॉइंट
"dollar value of one basis point" का संक्षेप
$ \text{DV01} = \text{Duration} \times \text{Bond Price} \times 0.0001$
USD 92.28 कीमत और 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$
अगर ब्याज दर 3% गिरे तो अनुमानित प्राइस बदलाव:
-100 * 7.36 * -0.03
22.08
बॉन्ड को दोबारा प्राइस करने से वास्तविक बदलाव:
-npf.pv(rate=0.02, nper=10, pmt=4, fv=100) - 92.28
25.69
Python में बॉन्ड वैल्यूएशन और एनालिसिस