[R-SIG-Finance] Business day conventions
spencerg
spencer.graves at prodsyse.com
Mon Jun 15 02:18:47 CEST 2009
Hi, Dirk:
1. How do the RQuantLib capabilities compare on this issue with the
capabilities available in Rmetrics, including the holiday calendars such
as holidayNYSE and holidayZURICH as well as the timeSequence and
seq.timeDate functions in the "timeDate" package?
2. R-Forge did not want to give me the current RQuantLib version from
R-Forge:
> install.packages("RQuantLib", repos="http://R-Forge.R-project.org")
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘RQuantLib’ is not available
I recently encountered a similar problem trying to access the latest
version of "RBloomberg" on R-Forge. In that case, the package was "not
compiling because there is an
out-of-date dependency."
Thanks for all your contributions to the R project.
Best Wishes,
Spencer
Dirk Eddelbuettel wrote:
> Phil,
>
> On 10 June 2009 at 04:49, Phil Joubert wrote:
> | I'm looking for a date package which can handle business day conventions, e.g. Mod Following, etc. (http://en.wikipedia.org/wiki/Date_rolling)
> |
> | Basically I want to be able to generate a sequence of dates from StartDate to EndDate with a given frequency and following a given business day convention. A stub convention would also be useful :)
> |
> | Can anyone point me in the right direction?
>
> QuantLib has all the calendar functionality at the C++ level, and we're
> slowly exposing more of it. For example, I recently added a businessDay()
> function as I needed one. This already understands a bunch of calendars, and
> you could try to copy the logic / interface to do something similar for the
> different settlement and calendar combinations.
>
> More generally, Khan (as part of his Google Summer of Code project of
> extending RQuantLib), is exposing more as he is adding a lot of Fixed Income
> functionality. So you probably want to talk to Khanh (whom I CC'ed).
>
> You can follow this via the R-Forge infrastructure if you're able to work
> from source / svn / tarballs. There will be new packages at some point, we
> just don't know when :)
>
> Dirk
>
>
More information about the R-SIG-Finance
mailing list