Chart trades against market data, position through time, and cumulative P\&L

Description

Produces a three-panel chart of time series charts that contains prices and transactions in the top panel, the resulting position in the second, and a cumulative profit-loss line chart in the third.

Usage

1
chart.Posn(Portfolio, Symbol, Dates = NULL, ..., TA = NULL)

Arguments

Portfolio

string identifying the portfolio to chart

Symbol

string identifying the symbol to chart. If missing, the first symbol found in the Portfolio portfolio will be used

Dates

xts ISO 8601 style subsetting

TA

a string defining a technical indicator function that will be applied to the chart, using eval

...

any other passthru parameters to chart_Series

Note

Expect changes to this function, since the underlying charts are experimental functions in quantmod.

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