Description Usage Arguments Details
Constructs the data container used to store calculated P&L values from transactions and close prices.
1 2 | .initPosPL(initDate = "1950-01-01", ..., initPosQty = 0, initConMult = 1,
initCcyMult = 1)
|
initDate |
date prior to the first close price given, used to contain initial account equity and initial position |
initPosQty |
initial position, default is zero |
initConMult |
initial contract multiplier, default is one(1) |
initCcyMult |
initial currency multiplier, default is one(1) |
... |
any other passthrough parameters |
Constructs multi-column xts object used to store derived position information
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.