Python ile Tahvil Değerleme ve Analizi
Joshua Mayhew
Options Trader
-npf.pv(rate=0.05, nper=5, pmt=5, fv=100)
-npf.pv(rate=0.05, nper=10, pmt=5, fv=100)
100.00
100.00
Faiz oranları %6’ya yükselirse:
-npf.pv(rate=0.06, nper=5, pmt=5, fv=100)
-npf.pv(rate=0.06, nper=10, pmt=5, fv=100)
95.79
92.64
5 yıl tahvil değerin %4,21’ini, 10 yıl tahvil %7,36’sını kaybetti
10 yıl tahvil faiz değişimlerine daha duyarlıydı
Vade için basitleştirilmiş bir formül kullanacağız:
${\large Duration = \frac{P_{down}\ -\ P_{up} }{2\ \times\ P\ \times\ \Delta y}}$
10 yıl vadeli tahvil, %5 yıllık kupon, %4 vade sonu getirisi: vadesi nedir?
${ Duration = \frac{P_{down}\ -\ P_{up} }{2\ \times\ P\ \times\ \Delta y}}$
price = -npf.pv(rate=0.05, nper=10, pmt=5, fv=100)price_up = -npf.pv(rate=0.06, nper=10, pmt=5, fv=100) price_down = -npf.pv(rate=0.04, nper=10, pmt=5, fv=100)duration = (price_down - price_up) / (2 * price * 0.01) print(duration)
7.74
Faizdeki %1’lik hareket, tahvil fiyatında %7,74 değişime yol açar.
Python ile Tahvil Değerleme ve Analizi