tradeStats | R Documentation |
Compute list of risk reward metrics
tradeStats(x, Rf = 0)
x |
Univariate xts object of returns OR dataframe with date and return variables. |
Rf |
Risk-free rate. |
List of risk/reward metrics. list
Philippe Cote
library(PerformanceAnalytics)
tradeStats(x = stocks$spy, Rf = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.