unrealized_money_last | R Documentation |
Numeric vector. It is equal to profit or loss for each asset in their currencies in the model at the moment inside backtester cycle. Often used in rule's expr block for takeprofit or stoploss rules.
unrealized_money_last
An object of class NULL
of length 0.
If one want to get full unrealized pnl in main currency of model,
one should use unreal_sum
. If model has only one currence it is possible to use sum(unrealized_money_last)
.
unreal_sum
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.