-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OISRateHelper use in curve bootstrapping throwing exception TODAY, likely something to do with Labor Day holiday #2065
Comments
the exception being thrown looks like QuantLib PiecewiseYieldCurve::zeroRate failed, Expiration Sep[20240916], 2nd iteration: failed at 1st alive instrument, pillar September 1st, 2024, maturity September 1st, 2024, reference date August 28th, 2024: positive compound factor required |
this is failing again with today's business date (20240912) when utilizing OISRateHelper. There is a bug. |
@marcin-rybacki — is there any chance you can have a look and see if this is related to the recent work on OIS? Thanks! |
Hi Luigi, I had a brief look and I see that the curve is constructed using cubic spline interpolation on discount factors, which perhaps may cause troubles more often than other interpolation schemes. Also, the curve seems to be breaking on the monthly August 2024 futures. If only this instrument is excluded the curve bootstraps well. Interestingly, this is the case only on version 1.35. I get the same error if I use Additionally, if I reconstruct this curve (including both futures and swaps as constituents) using different interpolation schemes (more reliable for bootstrapping) I get the following results: The forwards are a bit irregular though, which could lead to bootstrapping problems for some schemes. In summary, I think the issue may be caused by SOFR futures, however it only resurfaces using the interpolation scheme that I would not generally use for bootstrapping. Under some other, more common, schemes the curve builds well. What do you think? |
This is with actual data from today, 1st day this has failed. Removing the OISRateHelper adds to "helpers", does not fail. If I move the businessDate forward to Sep 3 (and add some fixings), exception does not occur. Dates Aug 29, Aug 30 also fail.
The text was updated successfully, but these errors were encountered: