[Blotter-commits] r1211 - pkg/quantstrat/demo

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Oct 6 19:37:11 CEST 2012


Author: braverock
Date: 2012-10-06 19:37:10 +0200 (Sat, 06 Oct 2012)
New Revision: 1211

Modified:
   pkg/quantstrat/demo/rsi.R
Log:
- fix cut and paste error

Modified: pkg/quantstrat/demo/rsi.R
===================================================================
--- pkg/quantstrat/demo/rsi.R	2012-10-03 22:22:38 UTC (rev 1210)
+++ pkg/quantstrat/demo/rsi.R	2012-10-06 17:37:10 UTC (rev 1211)
@@ -81,7 +81,7 @@
     plot(add_RSI(n=2))
 }
 
-ret1 <- PortfReturns(account.st)
+ret1 <- PortfReturns(port.st)
 ret1$total <- rowSums(ret1)
 #ret1
 



More information about the Blotter-commits mailing list