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.
generates error:
TypeError: init() got an unexpected keyword argument 'concurrent'
IF I do a git clone from your repo and cd into that yahoofinancials folder and only in that folder (where I ran the python setup.py install):
the above code in Jupyter works!
When running from Jupyter notebook this fails. but code works from python script in the same customer kernel:
from yahoofinancials import YahooFinancials tickers = ['AAPL', 'GOOG', 'C'] yahoo_financials = YahooFinancials(tickers, concurrent=True, max_workers=8, country="US") balance_sheet_data_qt = yahoo_financials.get_financial_stmts('quarterly', 'balance') print(balance_sheet_data_qt)
generates error: TypeError: init() got an unexpected keyword argument 'concurrent'
IF I do a git clone from your repo and cd into that yahoofinancials folder and only in that folder (where I ran the python setup.py install): the above code in Jupyter works!