[Blotter-commits] r1214 - pkg/quantstrat/demo
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Oct 6 23:25:57 CEST 2012
Author: opentrades
Date: 2012-10-06 23:25:57 +0200 (Sat, 06 Oct 2012)
New Revision: 1214
Modified:
pkg/quantstrat/demo/rsi.R
Log:
added require(quantstrat) to rsi.R
Modified: pkg/quantstrat/demo/rsi.R
===================================================================
--- pkg/quantstrat/demo/rsi.R 2012-10-06 18:02:55 UTC (rev 1213)
+++ pkg/quantstrat/demo/rsi.R 2012-10-06 21:25:57 UTC (rev 1214)
@@ -1,3 +1,5 @@
+require(quantstrat)
+
suppressWarnings(rm("order_book.RSI",pos=.strategy))
suppressWarnings(rm("account.RSI","portfolio.RSI",pos=.blotter))
suppressWarnings(rm("account.st","portfolio.st","stock.str","stratRSI","initDate","initEq",'start_t','end_t'))
More information about the Blotter-commits
mailing list