JECSand / yahoofinancials

A powerful financial data module used for pulling data from Yahoo Finance. This module can pull fundamental and technical data for stocks, indexes, currencies, cryptos, ETFs, Mutual Funds, U.S. Treasuries, and commodity futures.
https://pypi.python.org/pypi/yahoofinancials
MIT License
899 stars 214 forks source link

get_beta() method slow for large number of stocks #50

Closed RenaissanceEngineering closed 1 year ago

RenaissanceEngineering commented 4 years ago

yahoo_financials = YahooFinancials(stocks) betas = yahoo_financials.get_beta()

For a stock list greater than approximately 20 stocks the get_beta query is very slow.

JECSand commented 1 year ago

@RenaissanceEngineering v1.9 just added optional concurrent execution. This should drastically speed this up now.