Python for Finance Stock Data to CSV Files

preview_player
Показать описание
In this video you will learn how to get stock data from the Yahoo Finance API using Pandas datareader and then save the data to a CSV using Python.





🎥 See the other videos in this series:



Рекомендации по теме
Комментарии
Автор

I stopped binge watching Netflix and started binge watching your videos instead

retrofuturst
Автор

Great tutorial. Is not only that you learn but you also make it very funny. Keep it up!

mariots
Автор

Another brilliant video! Love your teaching style and the fact that you can laugh at yourself. Do you have any ideas about getting other data such as company or fundamental. I've seen code using yfinance, but that seems to work only for US companies. Thanks for taking the time to share

stephenhobson
Автор

Hi Shane, Sorry to be a pain, but I'm getting an empty CSV file and can't figure the fix.
The main code appears to be functional, but an error gets thrown when trying to execute 'to_csv'
IndexError: list index out of range
at this line:


There is some discussion here, but I couldn't see the error. Any clues?
Thanks,
Bob

bobbryce
Автор

Great video! I appreciate you posting this. Question, I tried running the code on my own but I'm not getting any results. The code creates a csv file but it's empty. I think it has to do with the following line:



I don't have a keys() dictionary for columns to fill. Is there a way I can define this dictionary? Or is there something else that I need to do?

Thanks again.

cesarbodden
Автор

Where can I download the tickers.csv from?

rikuleino
Автор

Great video but sadly the downloads aren't working. "Account Suspended" says your mates at codeyogi.co.uk

jaimarcon
visit shbcf.ru