riskParityPortfolio
riskParityPortfolio copied to clipboard
add support for arbitrary, user-provided objective term
For that to be accomplished the user has to provide:
- a function
f
which takes the portfolio weights (and possibly additional parameters) as input - gradient of
f
- hessian of
f
For the gradient and the hessian we may be able to take advantage of automatic differentiation.
cc @dppalomar