Skip to content
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

Feature request: Allowing for user made calendars #4

Open
petermeissner opened this issue Jun 1, 2017 · 4 comments
Open

Feature request: Allowing for user made calendars #4

petermeissner opened this issue Jun 1, 2017 · 4 comments

Comments

@petermeissner
Copy link

petermeissner commented Jun 1, 2017

Moving discussion from #1 to here.
(Disclaimer: I have near to zero experience doing Cpp / Rcpp so this will all be very nooby)

@petermeissner petermeissner changed the title Feature request: Allowing for user made calenders Feature request: Allowing for user made calendars Jun 1, 2017
@eddelbuettel
Copy link
Owner

There is always a first time for anything so no worries. Maybe start something reasonably simply and just carry one new country calendar over from QL itself. Or add one test, or ...

@petermeissner
Copy link
Author

User made calendars can mean two things:

  1. simply using a calendar and adding dates
  1. generating a calendar (at runtime) from scratch
  • I found the calendars in inst/include/ql/time/calendars

... both seem good starting points.

I will research further and see what digging around and trying to make something work will result in. If I get a step further I post it here.

@eddelbuettel
Copy link
Owner

The cogitolearning reference is 5 years old. Parts of QuantLib much older still, but if in doubt look at the sources here -- and also the test code here.

@eddelbuettel
Copy link
Owner

Not sure if this is still a need ... but I finally got around to overhauling the package, reducing it to only calendaring but being current with QuantLib. So we can do this now as QuantLib can do it, we just have to add a simple wrapper function or two via Rcpp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants