yahooquery icon indicating copy to clipboard operation
yahooquery copied to clipboard

progress bar not correct when pulling a long list of data

Open zhenyulin opened this issue 4 years ago • 1 comments
trafficstars

Describe the bug When pulling a long list of data, say over 500 tickers, the progress bar finishes marginally earlier than when the result is actually ready.

To Reproduce get_financial_data(tickers, progress=True, asynchronous=True)

Expected behavior when the progress bar reaches 100%, almost instantly the results are returned

Additional context Add any other context about the problem here.

zhenyulin avatar Dec 24 '20 18:12 zhenyulin

The progress bar is utilized in making the requests, not in combining all the data frames once the requests are complete. If you have a better solution, please feel free to open a pull request.

dpguthrie avatar Dec 24 '20 19:12 dpguthrie