Description Usage Arguments Details See Also
Produces a plot of blotter
portfolio position over time.
Provides cumulative profit and loss, if available, along with
position plot and drawdown plot. Adds buys, sells, positions,
and position fill indicators.
1 | plot_position(Portfolio, Symbol, Dates = NULL, ..., TA = NULL)
|
Portfolio |
the blotter portfolio name |
Symbol |
the portfolio symbol name to plot |
Dates |
the subset of dates to plot, or NULL for all |
... |
passed to chartSeries() |
TA |
any technical indicator to apply to the return plot, or NULL |
Modified from blotter::chart.Posn
.
blotter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.