MulaiMulai sekarang secara gratis

Estimating effect of convexity on bond price

Now that you've calculated convexity for your bond, you can estimate the effect of convexity on the bond's price.

Specifically, recall from the video that the percentage change based on convexity is given by

$$0.5 * convexity * (\Delta y)^2$$

where \(\Delta y\) is the expected change in yield. The dollar change based on convexity is equal to the percentage change multiplied by the current price \(P\).

For this exercise, assume that yields are expected to decline by 1%.

The convexity object, which you calculated in the previous exercise as 116.521, and the px object, which is the price of the bond of $100, have been preloaded in your workspace.

Latihan ini adalah bagian dari kursus

Bond Valuation and Analysis in R

Lihat Kursus

Petunjuk latihan

  • Estimate percentage change (convexity_pct_change) based on convexity if yields decrease by 1%.
  • Estimate dollar change (convexity_dollar_change) based on convexity if yields decrease by 1%.

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Estimate percentage change
convexity_pct_change <- 0.5 * ___ * (___)^2
convexity_pct_change

# Estimate dollar change
convexity_dollar_change <- ___ * ___
convexity_dollar_change
Edit dan Jalankan Kode