Hi, everyone,
   I was trying to run some demo in quantstrat package, but got some error:
   I ran  demo("macd") in R command line, but get an error message like
this:

>library(quantstrat)
>demo("macd")
.....
> out<-try(applyStrategy(strat.st , portfolios=portfolio.st,parameters=list(nFast=fastMA,
nSlow=slowMA,          nSig=signalMA,maType=maType)))
Error in if (!is.na(timestamp) && (ruletype == "chain" ||
(!is.na(data[timestamp][,
 : missing value where TRUE/FALSE needed
.....

In fact I had tried demo("maCross") and demo("pair_trade"), and got the
same error message. Is there anyone can tell me what is wrong. Thanks in
advanced.

PS: my quantstrat , blotter, FinanceInstruments, etc packages are the
latest version from R-forge.

	[[alternative HTML version deleted]]

