robertmartin8 / MachineLearningStocks

Using python and scikit-learn to make stock predictions
MIT License
1.74k stars 506 forks source link

Stuck downloading historical prices #35

Open potatoFry opened 3 years ago

potatoFry commented 3 years ago

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 3 years ago

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.

potatoFry commented 3 years ago

Ill try the fix out, thank you!