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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Jun 24 05:50:49 CEST 2011


Author: gsee
Date: 2011-06-24 05:50:48 +0200 (Fri, 24 Jun 2011)
New Revision: 635

Modified:
   pkg/quantstrat/R/orders.R
Log:
-revert unintentional change of order.set=NA

Modified: pkg/quantstrat/R/orders.R
===================================================================
--- pkg/quantstrat/R/orders.R	2011-06-24 03:45:45 UTC (rev 634)
+++ pkg/quantstrat/R/orders.R	2011-06-24 03:50:48 UTC (rev 635)
@@ -264,7 +264,7 @@
         order.set<-max(na.omit(getOrders(portfolio=portfolio, symbol=symbol, status='open', timespan=timespan, ordertype=NULL, side=NULL,which.i=FALSE)$Order.Set))
         if(is.na(order.set)) order.set<-1
     } else {    
-        order.set=1
+        order.set=NA
     }
 
     #set up the other parameters



More information about the Blotter-commits mailing list