robertmartin8/MachineLearningStocks

Stuck downloading historical prices

potatoFry opened this issue · 2 comments

Hello, thank you for writing such an interesting repository. Could you assist me with an issue with running the command, python download_historical_prices.py. Appears to be stuck at 80% and not proceeding.. Thank you!
image

Jozeh commented

Same issue.

MachineLearningStocks/venv/lib/python3.8/site-packages/fix_yahoo_finance/init.py
Line 111:
def download(tickers, start=None, end=None, as_panel=True, group_by='column', auto_adjust=False, progress=True, actions=None, threads=3, **kwargs):

Changing threads=1 to 3. Worked for me, it seems for now.

Ill try the fix out, thank you!