[Blotter-commits] r853 - pkg/quantstrat/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Nov 19 17:32:20 CET 2011
Author: bodanker
Date: 2011-11-19 17:32:20 +0100 (Sat, 19 Nov 2011)
New Revision: 853
Modified:
pkg/quantstrat/R/rules.R
Log:
- part of the applyRules fix didn't make the commit in r847
Modified: pkg/quantstrat/R/rules.R
===================================================================
--- pkg/quantstrat/R/rules.R 2011-11-19 00:04:15 UTC (rev 852)
+++ pkg/quantstrat/R/rules.R 2011-11-19 16:32:20 UTC (rev 853)
@@ -250,7 +250,7 @@
if(!isTRUE(rule$enabled)) next()
# check to see if we should run in this timespan
- if(!is.null(rule$timespan) && nrow(mktdata[rule$timespan][timestamp]==0)) next()
+ if(!is.null(rule$timespan) && nrow(mktdata[rule$timespan][timestamp])==0) next()
# see 'S Programming' p. 67 for this matching
if(is.function(rule$name)) fun <- rule$name
More information about the Blotter-commits
mailing list