cumpnl_plot {backtestGraphics} | R Documentation |
Draw an interactive line plot for cumulative P&L
Description
This function takes a data frame and returns an interactive plot for the cumulative P&L of the portfolio data. The plot is zoomable and specific data can be shown once the cursor is placed on the graph.
Usage
cumpnl_plot(x)
Arguments
x |
A data frame that the function takes in. |
Value
A plot. Red bars indicate loss and green bars indicate profit.
[Package backtestGraphics version 0.1.8 Index]