Constructs the data container used to store transactions and resulting positions.

Share:

Description

The data series stored here will be an irregular time series.

Usage

1
.initTxn(initDate = "1950-01-01", initPosQty = 0, ...)

Arguments

initDate

date prior to the first close price given, used to contain initial account equity and initial position

initPosQty

initial position, default is zero

...

any other passthrough parameters

Value

Constructs multi-column xts object used to store transactions

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.