MachineLearningStocks icon indicating copy to clipboard operation
MachineLearningStocks copied to clipboard

Stuck downloading historical prices

Open potatoFry opened this issue 4 years ago • 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

potatoFry avatar Dec 13 '20 13:12 potatoFry

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.

Jozeh avatar Dec 17 '20 20:12 Jozeh

Ill try the fix out, thank you!

potatoFry avatar Dec 18 '20 08:12 potatoFry