plotCapital: Plot Capital of strategy

Description Usage Arguments

Description

Plot Capital of strategy

Usage

1
2
3
4
5
6
7
8
plotCapital(this, ...)

## S3 method for class 'modelStrategy'
plotCapital(this, interactive_plot = TRUE,
  start_date = NULL, end_date = NULL, leg = "all", ...)

## S3 method for class 'modelPortfolio'
plotCapital(this, ...)

Arguments

this

modelStrategy

...

params

interactive_plot

logical, if it is TRUE then plot will be intercative

start_date

Date / character, example: start_date='2008-01-01'

end_date

Date / character, example: end_date='2018-01-01'

leg

numeric / character, numeric is responsible for capital by legs, character can be "all" then capital will be summed or it can be "sep" then capital will be plotted for each leg


Vitalic57/stratbuilder2pub documentation built on Dec. 18, 2019, 2:56 a.m.