plot_strat: Plots a Strategy

Description Usage Arguments Examples

View source: R/TAaUF.r

Description

Graphing a strategy returns curve

Usage

1
plot_strat(ret,main='',col='black',na.action=na.omit, sum=TRUE)

Arguments

ret

a vector of trading returns

main

character text or strategy title

col

colors (default "black" or any other color "red,blue...")

na.action

default na.omit

sum

a bool indicating whether to use default "TRUE" cumsum function or default "FALSE" for a cumprod function

Examples

1

Michele1973/TAaUF documentation built on May 29, 2019, 4:44 a.m.