plot.stock: Plotting the trades

Description Usage Arguments

View source: R/plot.R

Description

Plotting the trades

Usage

1
2
## S3 method for class 'stock'
plot(obj, add_indicator = TRUE, ...)

Arguments

obj

object of class stock which is obtained from 'get_performance'

add_indicator

logical specifying whether or not the indicator should be plotted as well. Default is TRUE.

...

additional parameters allowing to change legend on plot


kristian-bak/kb.stock.simulator documentation built on Dec. 21, 2021, 7:46 a.m.