fmilthaler / FinQuant

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

pf._udpate() called numerous times when adding stocks in bulk. #57

Closed nuvious closed 1 year ago

nuvious commented 4 years ago

I noticed when adding a number of stocks to a portfolio the time to add them takes longer and longer. Adding a deferment to the pf._update() call seems to resolve this and makes adding bulk stocks much faster. Pull request to follow for your consideration.