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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Jul 19 22:34:47 CEST 2012


Author: opentrades
Date: 2012-07-19 22:34:47 +0200 (Thu, 19 Jul 2012)
New Revision: 1107

Modified:
   pkg/quantstrat/demo/luxor.R
Log:
made quantstrat/demo/luxor.R to work out-of-the-box with sandbox data again



Modified: pkg/quantstrat/demo/luxor.R
===================================================================
--- pkg/quantstrat/demo/luxor.R	2012-07-12 20:18:19 UTC (rev 1106)
+++ pkg/quantstrat/demo/luxor.R	2012-07-19 20:34:47 UTC (rev 1107)
@@ -1,4 +1,4 @@
-#!/usr/bin/Rscript --vanilla
+#!/usr/local/bin/Rscript --vanilla
 #
 # Jan Humme (@opentrades) - June 2012
 #
@@ -18,8 +18,8 @@
 
 initDate = '2002-10-21'
 .from='2002-10-21'
-.to='2008-07-04'
-#.to='2003-12-31'
+#.to='2008-07-04'
+.to='2003-12-31'
 
 ####
 
@@ -38,8 +38,8 @@
 
 exchange_rate(c('GBPUSD'), tick_size=0.0001)
 
-setSymbolLookup.FI('~/R.symbols/', 'GBPUSD')
-#setSymbolLookup.FI('../sandbox/', 'GBPUSD')
+#setSymbolLookup.FI('~/R.symbols/', 'GBPUSD')
+setSymbolLookup.FI('../sandbox/', 'GBPUSD')
 
 ###
 



More information about the Blotter-commits mailing list