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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jun 4 16:40:04 CEST 2014


Author: efmrforge
Date: 2014-06-04 16:40:03 +0200 (Wed, 04 Jun 2014)
New Revision: 1614

Modified:
   pkg/quantstrat/demo/macd.R
Log:
Restore time zone after demo


Modified: pkg/quantstrat/demo/macd.R
===================================================================
--- pkg/quantstrat/demo/macd.R	2014-06-04 14:24:06 UTC (rev 1613)
+++ pkg/quantstrat/demo/macd.R	2014-06-04 14:40:03 UTC (rev 1614)
@@ -141,6 +141,9 @@
 #look at the order book
 obook<-getOrderBook('macd')
 
+# set tz as it was before the demo
+Sys.setenv(TZ=oldtz)
+
 ###############################################################################
 # R (http://r-project.org/) Quantitative Strategy Model Framework
 #



More information about the Blotter-commits mailing list