[Blotter-commits] r1725 - pkg/quantstrat/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Dec 14 13:59:13 CET 2015
Author: bodanker
Date: 2015-12-14 13:59:13 +0100 (Mon, 14 Dec 2015)
New Revision: 1725
Modified:
pkg/quantstrat/R/orders.R
Log:
Align initDate default with initAcct and initPortf
Change initDate default for initOrders to 1950-01-01, so it is
consistent with initDate default for initAcct and initPortf.
The default value isn't particularly important, except that it is
*before* the first date in the market data.
Modified: pkg/quantstrat/R/orders.R
===================================================================
--- pkg/quantstrat/R/orders.R 2015-12-14 12:54:08 UTC (rev 1724)
+++ pkg/quantstrat/R/orders.R 2015-12-14 12:59:13 UTC (rev 1725)
@@ -64,7 +64,7 @@
#' @param \dots any other passthrough parameters
#' @concept order book
#' @export
-initOrders <- function(portfolio=NULL, symbols=NULL, initDate = '1999-12-31', ...)
+initOrders <- function(portfolio=NULL, symbols=NULL, initDate = '1950-01-01', ...)
{
# NOTE we could store all of these in one object, but I think that might get big
orders<- try(getOrderBook(portfolio),silent=TRUE)
More information about the Blotter-commits
mailing list