[Blotter-commits] r1501 - pkg/quantstrat/demo
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Sep 12 18:04:36 CEST 2013
Author: erastus
Date: 2013-09-12 18:04:36 +0200 (Thu, 12 Sep 2013)
New Revision: 1501
Modified:
pkg/quantstrat/demo/macdRebalancing.R
Log:
- fixed column name match issue in macdRebalancing.R
Modified: pkg/quantstrat/demo/macdRebalancing.R
===================================================================
--- pkg/quantstrat/demo/macdRebalancing.R 2013-09-09 19:29:52 UTC (rev 1500)
+++ pkg/quantstrat/demo/macdRebalancing.R 2013-09-12 16:04:36 UTC (rev 1501)
@@ -62,14 +62,14 @@
#two signals
add.signal(strat.st,name="sigThreshold",
- arguments = list(column="signal",
+ arguments = list(column="signal.MACD.ind",
relationship="gt",
threshold=0,
cross=TRUE),
label="signal.gt.zero")
add.signal(strat.st,name="sigThreshold",
- arguments = list(column="signal",
+ arguments = list(column="signal.MACD.ind",
relationship="lt",
threshold=0,
cross=TRUE),
More information about the Blotter-commits
mailing list