tradeGraphs: Draw 3D graphs from tradeStats results using rgl

Description Usage Arguments Value Author(s) Examples

Description

Draw 3D graphs from tradeStats results using rgl

Usage

1
2
tradeGraphs(stats, free.params, params.filter = NULL, statistics,
  title = NULL)

Arguments

stats

a data frame generated by tradeStats()

free.params

a vector of length 2, containing the column names for the data to use on the x and z axes

params.filter

- a regular expression to reduce dimensions by filtering on certain columns

statistics

a vector containing the column names to produce graphs for

title

an optional title to be printed above each graph

Value

invisible – called for side-effect

Author(s)

Jan Humme, rewritten by Chinmay Patil

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
tradeGraphs (
     stats = stats,
     free.params = c("Param.indicator.1.nFast", "Param.indicator.2.nSlow"),
	params.filter = "Param.indicator.2.nSlow < 40 & Param.indicator.1.nFast > 5"
     statistics = c("Net.Trading.PL", "maxDrawdown", "Avg.Trade.PL", "Num.Trades")
     title = 'Luxor'
)

## End(Not run)

redmode/quantstrat documentation built on May 27, 2019, 4:04 a.m.