Skip to content
Back to formatted view

Raw Message

Message-ID: <4D28DFA0.4020004@braverock.com>
Date: 2011-01-08T22:05:20Z
From: Brian G. Peterson
Subject: quantstrat
In-Reply-To: <4D28DD27.4050902@organicfoodmarkets.com.au>

On 01/08/2011 03:54 PM, Stephen Choularton wrote:
> Can anyone advise me how to resolve this?

try this:

stock.str <- getSymbols(stock.str,from=initDate+1)

which should drop the hat for you.

the hat isn't a valid R variable name.

Also note, per the blotter documentation, that your first trade should 
occur *after* the initDate.

Cheers,

   - Brian

-- 
Brian G. Peterson
http://braverock.com/brian/
Ph: 773-459-4973
IM: bgpbraverock