Given a spot rate function taking a single argument, n
, create a function for calculating
n-year zero coupon bond prices.
1 | zero_bond_price_factory(spot_rate_fn)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.