cumpnl_plot: Draw an interactive line plot for cumulative P&L

Description Usage Arguments Value

View source: R/cumpnl_plot.R

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

1

Arguments

x

A data frame that the function takes in.

Value

A plot. Red bars indicate loss and green bars indicate profit.


backtestGraphics documentation built on May 29, 2017, 3:11 p.m.

Search within the backtestGraphics package
Search all R packages, documentation and source code