Skip to main content

All Questions

3 votes
0 answers
685 views

Modified duration and convexity of a bond in R

A soft question: Are there any existing packages in R that allows one to compute the modified duration and convexity of bonds in R? If there isn't, how can one go about doing so (with formulas) with ...
Stoner's user avatar
  • 205
0 votes
1 answer
941 views

Convexity for historical bond data

I'm trying to write a program to calculate the convexity of a bond. The bigger idea is, that if I have access to the actual price for each point in time, I should be able to calculate various features ...
aalberti333's user avatar