Learn R Programming

rportfolio (version 0.0.3)

tracking.error: Tracking Error

Description

Calculates the Tracking Error

Usage

tracking.error(R1, R2)

Arguments

R1

Returns of the portfolio

R2

Returns of the benchmark

Value

Calculates the Tracking error of the security

Details

Tracking error is the divergence between the price behavior of a position or a portfolio and the price behavior of a benchmark.

Examples

Run this code
# NOT RUN {
tracking.error(funds$ret1, funds$rfr)
# }

Run the code above in your browser using DataLab