Internal Design of Zero Coupon Bond Engine¶
Overview¶
A zero-coupon bond is a bond which is purchased at a price below the face value of the bond. It does not pay coupon during the contract period, and repays the face value at the time of maturity.
Implemention¶
This engine uses the linear interpolation method (\(linearInterpolation\)) as defined in L1 to calculate the price based on time (the difference between the maturity date and the reference date with the unit in year) and face value. The linear interpolation method implements 1-dimensional linear interpolation.