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

1 |

`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. |

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.

Time series of the wealth for the portfolio.

Marc Delvaux

1 2 3 4 | ```
require(logopt)
data(nyse.cover.1962.1984)
w <- crp(nyse.cover.1962.1984)
plot(w, type="l", color="blue")
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.