01-09 Optimizers: How to optimize a portfolio

Framing the problem:

  • provide a function to minimize
  • provide an initial guess for X
  • call the optimizer


因为SR越大越好,而优化是找最小值。
X的每个维度是每只股票分配比例。

Ranges and constraints:

  • Ranges: Limits on values for
  • Comstrains: properties of X that must be "true"

转载于:https://www.jianshu.com/p/c9ae47558c17

猜你喜欢

转载自blog.csdn.net/weixin_33724046/article/details/91305030
今日推荐