Download ALL S&P 500 Market Index Company Stock Prices with Python

preview_player
Показать описание
In this video I show an EASY way to download STOCK PRICES for ALL the COMPANIES (constituents) of the S&P500 market index using the python library yfinance (Yahoo Finance).

This is just one easy way among several options.

Feel free to post any comments, questions... in the comment section below.

May thanks you for your support ! ;)
Рекомендации по теме
Комментарии
Автор

you are a life saviour. I have searched numerous youtube videos but this by far was the easiest way to fetch historical prices for numerous stocks

dineshshenoy
Автор

Awesome video dude, thks so much for your clarity. I've been many hours trying to get something similiar to what you achieve in several minutes.

ivangonzalezcuesta
Автор

Do you answer questions? I dont see any recent questions / answers from this video but I would like to ask a question if I can get an answer?

westnash
Автор

Very usefull !
Maybe will be a good idea to share the code you use in the video, to edit and mess arround when people see the video to learn
Thanks !

Shoz_
Автор

wouldn't it be better to use in the for next loop tickers.replace(".", "-") so you do not have to MANUALLY check?

riccardoronco
Автор

Hi nice video, thanks for sharing. Is there an opportunity to get all the current Holdings of a certain ETF via finance ? I'm trying to download all the Stocks of the Russell2000 and analyse them on a fundamental basis. Greetings

itsdan
Автор

There is a erro in your explanation, if I have a data from 1998, with this list of index, I will find a just little companies, because these list have recently companies.

andrevictoraraujo
Автор

what mistake I am doing ?

import yfinance as yf

data = yf.download(['AAPL', 'MMM'])

Error


2 of 2 completed

2 Failed downloads:
- MMM: No data found for this date range, symbol may be delisted
- AAPL: No data found for this date range, symbol may be delisted

ameydhore