Description Usage Arguments Value

Calculates the Convexity of a Bond with the maturity date, calculation date, coupon rate and YTM of the Bond

1 | ```
Convexity(mat, day, tcoupn, ytm, period = 182)
``` |

`mat` |
is the maturity date of the Bond |

`day` |
is the day in which the price is calculated |

`tcoupn` |
is the coupon rate of the bond (annualized) |

`ytm` |
is the Yield to Maturity of the Bond |

`period` |
is the time for every coupon payment |

the Convexity of the Bond

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.