vendredi 30 novembre 2018

weight allocation matrix using python

I want to generate about 1000 random weight allocations for 4 Equities. ex: [0.2,0.5,0.1,0.2] Conditions: 1. Sum of the weights should be equal to 1 2. Each weight should have a precision factor of 1 (0.2, 0.3, 0.4 etc)

Your replies are most required and appreciated.

Thanks Amit




Aucun commentaire:

Enregistrer un commentaire