[Blotter-commits] r1422 - pkg/quantstrat/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Apr 3 23:36:46 CEST 2013
Author: opentrades
Date: 2013-04-03 23:36:45 +0200 (Wed, 03 Apr 2013)
New Revision: 1422
Modified:
pkg/quantstrat/R/orders.R
Log:
- patch: updateOrders() needs orderset=NULL instead of orderset=NA
Modified: pkg/quantstrat/R/orders.R
===================================================================
--- pkg/quantstrat/R/orders.R 2013-04-03 21:08:22 UTC (rev 1421)
+++ pkg/quantstrat/R/orders.R 2013-04-03 21:36:45 UTC (rev 1422)
@@ -477,6 +477,8 @@
side=NULL
qtysign=NULL
}
+
+ if(is.na(orderset)) orderset=NULL
# need the ability to pass a range like we do in blotter
updatedorders<-getOrders(portfolio=portfolio,
symbol=symbol,
More information about the Blotter-commits
mailing list