How to get online stock prices with Python

preview_player
Показать описание
This video is showing you how to get online stock data from the internet and analyze this data. It is also showing how to calculate cumulative returns to make stocks comparable.
This is the fundamental part of the Python for finance track on my channel and you should give it a watch :-)

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

pandas data reader does not seem to function any longer. I spent the whole night and then I found this solution .... import yfinance as yf then use df = yf.download(stocks, start, end) this fixes the problem as per Feb 6 2023. I am now able to download the data

riccardoronco
Автор

I have an exam tomorrow morning, you're saving my life

madjidmahdjoub
Автор

Minute 8:44, was für eine Formel ist das? Bzw gibt es für diese Rechnung einen speziellen Begriff nach dem ich googlen kann?

barneyharper
Автор

Hey, im just starting to learn algo trading and your videos seem great
Is the stock price which we get from yahoo today adjusted for the stock split ? Because im getting numbers slightly different from yours

Edit: just saw a comment that stock split caused the differences.

Raiden_Lamperouge
Автор

Hi! Great video! I was wondering if there is a way to get monthly data instead of daily?

mohammedsuhail
Автор

Please make a video on how to import stock data using two or more url code because I can't download my country's stock data from yfinance.
Thank you ❤.

ctchannel
Автор

Why do I get an error when I type in your code? It says:string indices must be integers

ceklessR
Автор

Hi algovibes your videos are great !! I get an error if i try to pass multiple Stocks ticker in a list like you did, any idea why? works fine only if I pass just one ticker

nicolaschiavo
Автор

Hey mate, the content is really good but I'm getting an error " df is not defined". Can you tell me how to get over it

ADITYASINGHDSEC
Автор

hey man, is there updated way to get stock data from yahoo? cant get it to work this method in start of video

tyronew
Автор

Hi, dear. really appreciated your shareing of this hands-on trading videos.
I can not get the data directly from yahoo, so I try yfinance instead.
but issue is my data is not match with yours.
ex: 2020-05-01 Open: 71.56 High: 74.75 Low: 71.4625 Close: 72.2675.
I compare it with historical stock price online, it seems ok. so I am confused. Could you please share some your thoughts? Thank you very much.

jongdave
Автор

I love your channel and are definitely going to binge watch it all! and suggest to my classmates.
Question: How come my numbers given are different than yours?
Thank you! :D

timontimonites
Автор

Hi great video but I want to know how to get data of 1min timeframe of indices over 5 years???

meetshah
Автор

Und warum können eigentlich dataframe-Tabellen erstellt werden, obwohl ich Pandas nicht geladen habe? Pandas datareader hat nicht funktioniert und ich habe es mit yfinance ersetzt. Gruß aus Berlin

barneyharper
Автор

Don't know why, but getting different numbers from Yahoo running the same code. Weird!

newmusicplus
Автор

sir I don't know why but I am not able to get the data from Yahoo is there any other source of free data??

saurabhshreshta
Автор

hey, why did you write 'daily_returns+1' instead of just daily_returns?

ashutoshpawar
Автор

R u german? U sound german to me? Subscribed!

Kig_Ama
Автор

df = reader.get_data_yahoo(stocks, start, end) command gives an error "TypeError: string indices must be integers"

felkcz
join shbcf.ru