-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add more quantlib calendars #155
Comments
Yes, I would be open to careful pull requests, maybe one calendar / country at a time. |
(As an aside there is also the somewhat-dormant-and-behind Quantuccia which I wrapped in RcppQuantuccia. While smaller, it is also header-only and hence more portable. Maybe a few of us should look into reviving it / catching it up to QuantLib ...) |
I would also like to request adding "UnitedStates/FederalReserve" calendar. Thanks. |
I was unaware that existed, ditto for "LiborImpact". Should be simple to add. Did you try? |
It's a two-liner. I'll push that to a new branch in a minute. > library(RQuantLib)
> hl <- holidayList("UnitedStates/FederalReserve", from=as.Date("2021-01-01"), to=as.Date("2021-12-31"))
> hl
[1] "2021-01-01" "2021-01-18" "2021-02-15" "2021-05-31" "2021-07-05" "2021-09-06" "2021-10-11"
[8[ "2021-11-11" "2021-11-25"
> |
Haha, I use |
|
Added France too (per @wilsonfreitas earlier report). |
Hi,
Quantlib has more calendar than those available in RQuantlib.
https://github.com/lballabio/QuantLib/tree/master/ql/time/calendars
For example, the French calendar
raises this error
These calendars might be added to rquantlib.
The text was updated successfully, but these errors were encountered: