PlotLinePnls: Line Plot for PnL xts object using ggplot2::geom_line

Description Usage Arguments Value Examples

Description

Line Plot for PnL xts object using ggplot2::geom_line

Usage

1
PlotLinePnls(pnls, title = "PnL")

Arguments

pnls

xts object with columns being strategies, generated from DRIVS::OutputWrapper(...)[[2]]

Value

ggplot object

Examples

1
2
3
  png(filename = "./images/Signal_PnLs.png", width = 800, height = 500)
  DRIVS::PlotLinePnls(outputs.DRI[[2]])
  invisible(dev.off())

hughshuwang/isocyanate documentation built on May 30, 2019, 7:17 a.m.