You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The terms in a term structure usually have the same units.
So, once you have a term structure defined with terms in days you can only interpolate it using terms in days.
The [[ operator could be adapted to handled that and accept terms in any units.
The text was updated successfully, but these errors were encountered:
With this commit ea6263d the SpotRateCurve works with terms in days, by default.
It accepts terms in any units in its constructor, but internally the terms are converted to days units.
With that in mind, the operator [[ should receive the term and convert it to days.
The terms in a term structure usually have the same
units
.So, once you have a term structure defined with terms in days you can only interpolate it using terms in days.
The
[[
operator could be adapted to handled that and accept terms in anyunits
.The text was updated successfully, but these errors were encountered: