Learn R Programming

RTL (version 1.3.2)

tradeStats: Risk-reward statistics for quant trading

Description

Compute list of risk reward metrics

Usage

tradeStats(x, Rf = 0)

Value

List of risk/reward metrics.

Arguments

x

Univariate xts object of returns OR dataframe with date and return variables.

Rf

Risk-free rate

Author

Philippe Cote

Examples

Run this code
library(PerformanceAnalytics)
tradeStats(x = stocks$spy, Rf = 0)

Run the code above in your browser using DataLab