portfolioRisk {fPortfolio}R Documentation

portfolioRisk

Description

Computes portfolio risk.

Usage

covRisk(data, weights)
varRisk(data, weights, alpha = 0.05)
cvarRisk(data, weights, alpha = 0.05)

Arguments

data a multivariate time series described by an S4 object of class timeSeries.
weights a numeric vector of weights.
alpha a numeric value, the confidence level, by default alpha=0.05, i.e. 5%.

[Package fPortfolio version 280.74 Index]