fmilthaler / FinQuant

A program for financial portfolio management, analysis and optimisation.
MIT License
1.38k stars 190 forks source link

Depciation warning 5.0 #72

Closed Leohanhart closed 1 year ago

Leohanhart commented 1 year ago

Dear hero's

Im using your libary heavly but now there is a problem: this error keeps popping up: \finquant\monte_carlo.py:37: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray. return np.asarray(result)

Are you still alive? Is there a possiblity for you to fix this? Can I fix it?

Leohanhart commented 1 year ago

@fmilthaler @slpenn13 @herrfz @drcsturm If would like to try and fix it if you guys have no time.