Skip to content

help on creating 5 minutes bars

6 messages · R. Michael Weylandt, OpenTrades, Chris de Bleu

#
On Mon, Sep 24, 2012 at 9:57 AM, Chris de Bleu <blue2bleu at yahoo.fr> wrote:
Merely convention: to.period() goes to the _end_ of the unit being
aggregated rather than the beginning. This seems reasonable if you
consider a time stamp as when something can be known. (I.e., if you
marked periods as the beginning, use of  "Hi" and "Lo" would introduce
a small but non-negligible look ahead into the simulation)

Cheers,
Michael
#
On Mon, Sep 24, 2012 at 1:00 PM, Chris de Bleu <blue2bleu at yahoo.fr> wrote:
Is there a question in this? It's consistent with your earlier
example: aligning with the end of the grouped period.

Michael