powered by
Compute list of risk reward metrics
tradeStats(x, Rf = 0)
List of risk/reward metrics. list
list
Univariate xts object of returns OR dataframe with date and return variables. xts
xts
Risk-free rate. numeric
numeric
Philippe Cote
library(PerformanceAnalytics) tradeStats(x = stocks$spy, Rf = 0)
Run the code above in your browser using DataLab