quantstrat
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