Skip to content
Prev 12872 / 15274 Next

quantstrat - model transactions on specific dates

On Thu, Oct 9, 2014 at 1:35 PM, Joshua Ulrich <josh.m.ulrich at gmail.com> wrote:
Brian & Joshua,
   Thanks. I'll investigate them both.

   Longer term though I think my general question may still come up.
I've been looking at rebalancing at the portfolio level. Best I can
tell the applyStrategy.rebalance function rebalances individual stocks
based on the last entry date of that stock but not, for instance, on a
specific date like the a calendar quarter. (I wasn't going to post
this all right now until I was really sure so don't take this too
seriously.) Anyway I want to write something like what Faber &
Richardson wrote about in 'The Ivy Portfolio' where the whole
portfolio is rebalanced on a given date, like end-of-month,
independent of whether I'm using the 10 month SMA or not. For that
reason I figured I might need a way to match indexes to dates going
though time.

   Anyway, enough for now. Thanks for all your help guys!

Cheers,
Mark