Portfolio allocation

Currently this module contains the following algorithms: Equal Risk Contribution (ERC), Risk Budgeting Portfolio (RBP), Hierarchical Risk Parity (HRP), Inverse Variance Portfolio (IVP), Maximum Diversified Portfolio (MDP), Minimum Variance Portfolio constrained (MVP) and unconstrained (MVP_uc).

The module contains also an object to roll these allocations algorithms (rolling_allocation).

Allocation algorithms

ERC(X[, w0, up_bound, low_bound, cov])

Get weights of Equal Risk Contribution portfolio allocation.

RBP(X[, budgets, w0, up_bound, low_bound, cov])

Get weights of a Risk Budgeting Portfolio allocation.

HRP(X[, method, metric, low_bound, ...])

Get weights of the Hierarchical Risk Parity allocation.

IVP(X[, normalize, low_bound, up_bound, cov])

Get weights of the Inverse Variance Portfolio allocation.

MDP(X[, w0, up_bound, low_bound, cov])

Get weights of Maximum Diversified Portfolio allocation.

MVP(X[, normalize, cov])

Get weights of the Minimum Variance Portfolio allocation.

MVP_uc(X[, w0, up_bound, low_bound, cov])

Get weights of the Minimum Variance Portfolio under constraints.

Rolling object

rolling_allocation(f, X[, n, s, ret, drift])

Roll an algorithm of portfolio allocation.