This is a small program that shows how to calculate an n-year spot rate if the n-year zero-coupon bond price moves from q% to (1+k%) *q%, where q% is the quoted price.
-
Updated
Sep 16, 2017 - MATLAB
This is a small program that shows how to calculate an n-year spot rate if the n-year zero-coupon bond price moves from q% to (1+k%) *q%, where q% is the quoted price.
This program calculates the price of a x-year American-style (put or call) option on a zero-coupon bond that matures at year y with a par value of 1 dollar.
Add a description, image, and links to the zero-coupon topic page so that developers can more easily learn about it.
To associate your repository with the zero-coupon topic, visit your repo's landing page and select "manage topics."