llSourcell / predicting_stock_prices

This is the coding challenge for "Predicting Stock Prices" by @Sirajology on Youtube
297 stars 196 forks source link

No such file or directory: 'aapl.csv' #7

Open RosalySalcedo opened 7 years ago

RosalySalcedo commented 7 years ago

Hi,

I'm new to python and I have copied and pasted the demo.py code to a software called jupyter notebook. I downloaded the spreadsheet from apple as demonstrated in the video. However I keep getting an error as such:

No such file or directory: 'aapl.csv'

Is there something wrong?

rtakapu commented 7 years ago

Hi, you have to go to the website Siraj was using in his demo (Google Finance), download the CSV and place it in the directory that your code is running from.

Edit: https://www.google.com/finance/historical?q=NASDAQ%3AAAPL&ei=47NfWcD5Fti6evLIvbAP Here is the website that Siraj downloads it from in his demo. Cheers.