On 27 Jun 2003, Christopher Willmot <chris@...> wrote:
> On Friday 27 June 2003 2:22 pm, Chris Beggy wrote:
> > How can I calculate the number of days (or timeframe units)
> > between a start and an end of a portfolio analysis period? My
> > goal is to be able to generate some expected returns/yr or
> > #trades/year over periods greater or less than one year.
> Doesn't Date::Calc do that?
We also have calendar math in GT which specifically accounts for
different timeframes, so I'd like to stick with those functions,
if possible. We also have another issue of trading days
vs. calendar days, but for most purposes, calendar days are