[Blotter-commits] r630 - pkg/quantstrat/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Jun 14 04:12:02 CEST 2011


Author: gsee
Date: 2011-06-14 04:11:59 +0200 (Tue, 14 Jun 2011)
New Revision: 630

Modified:
   pkg/quantstrat/R/traderules.R
Log:
typo

Modified: pkg/quantstrat/R/traderules.R
===================================================================
--- pkg/quantstrat/R/traderules.R	2011-06-14 02:04:07 UTC (rev 629)
+++ pkg/quantstrat/R/traderules.R	2011-06-14 02:11:59 UTC (rev 630)
@@ -79,7 +79,7 @@
 						else
 							prefer='ask'  # we're selling, so work the ask price
 					}
-                    orderprice <- try(getPrice(x=data, prefer=prefer))[timestampe]
+                    orderprice <- try(getPrice(x=data, prefer=prefer))[timestamp]
 				},
 				maker = {
 					if(hasArg(price) & length(match.call(expand.dots=TRUE)$price)>1) {



More information about the Blotter-commits mailing list