crp: Constant Rebalanced portfolio

Description Usage Arguments Details Value Author(s) Examples

Description

Calculate the time evolution of a Constant Rebalanced Portfolio wealth given the prices relative and weights.

Usage

1
crp(x, b = NULL)

Arguments

x

Time series of relative prices

b

The portfolio weights with three variants: NULL, vector and time series of vectors. NULL will be transformed as the uniform vector.

Details

Calculate the relative wealth increase of the portfolio as the weigthed sum of the price relatives of the individual set, then calculate the time series of the portfolio wealth as the cumprod.

Value

Time series of the wealth for the portfolio.

Author(s)

Marc Delvaux

Examples

1
2
3
4

logopt documentation built on May 2, 2019, 5:49 p.m.