-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
CRAN emailed me as they noticed that the (old) example in help(SabrSwaption) now fails:
> setEvaluationDate(as.Date("2016-2-16"))
[1] TRUE
> times<-times <- seq(0,14.75,.25)
>
> data(tsQuotes)
> dcurve <- DiscountCurve(params, tsQuotes, times=times,dclegparams)
Error in discountCurveEngine(params, tsQuotes, times, matchlegs) :
1st iteration: failed at 1st alive instrument, pillar March 17th, 2016, maturity March 17th, 2016, reference date February 17th, 2016: Missing no-fix1M Actual/360 fixing for February 15th, 2016
Calls: DiscountCurve -> DiscountCurve.default -> discountCurveEngine
Execution haltedMoving the date to 2016-02-15 appears to avoid this.
@klin333 as you spent so much time and careful attention on date counters, any other suggestion you may have?
Metadata
Metadata
Assignees
Labels
No labels