riskparitypf: 'Function' to get a PF, that follows the risk parity...

Description Usage Arguments Value Examples

View source: R/portfolio_construction.R

Description

The goal of risk parity PFs is to find PF weights, such that the risk contribution of each constutuent is the same for all PF constituents.

Usage

1
riskparitypf(equity, debt, commodity)

Arguments

equity

A data frame or matrix with a time series of security prices

debt

A data frame or matrix with a time series of security prices

commodity

A data frame or matrix with a time series of security prices

Value

A list with the evolution of the portfolio as data frame and the amount of equity as numeric.

Examples

1
2
riskparitypf(equity = EuStockMarkets[, 1], debt = EuStockMarkets[, 2],
commodity = EuStockMarkets[, 3])

MatthiasSpeicher/gryffindorrobo documentation built on Dec. 27, 2019, 2:15 a.m.