Closed NelsonMaty closed 3 years ago
I believe this issue was introduced on this PR: https://github.com/ssantoshp/Empyrial/pull/35
Hi ✋
Thanks for reporting this issue. I just fixed it, it should be fine now. It has been corrected in the 1.9.8 version of Empyrial :)
You can check it here: https://colab.research.google.com/drive/1dygKh3LsmBEtevSXLCG2h_8bvpSACbYt?usp=sharing
It's working perfectly, thanks!! 😄
Describe the bug Asset allocation is equally weighted when no optimisation method is provided.
To Reproduce Use the documented example for custom asset allocation.
Expected behavior
portfolio.weights
equals to[0.1, 0.3, 0.15, 0.25, 0.2]
Actual behavior
portfolio.weights
equals to[0.2, 0.2, 0.2, 0.2, 0.2]