How to download S&P 500 (^GSPC) data from yahoo finance. Excel/CSV and R

preview_player
Показать описание
For description, enable subtitles on the video.

First, acquiring substitute data. E.g., AAPL (1980-today):
Second, change the ticker in the link address to ^GSPC.
(additionally, increase period2 to make the link an API solution from Y.Finance, you can add a minus symbol on period1 to obtain data from 1927 - the full dataframe)

Комментарии
Автор

Market Makers really make it even hard to even get data now days.Thanks

paulovreeland
Автор

It's really simple. You don't even need that Rstudio software to get the basic spreadsheet of S&P 500.

orcckaa
Автор

Very helpful. However I would like to download all the data from 1927. I used PG as substitute and read the file in R, and got data from 1962 until today. I didnt fully understand what you ment by changing time one to negative to get it from 1927. Could you explain deeper or make a video?

Yoyoyoyo-ftzb
Автор

Hello, thank you so much for your help, however, can you help with one more thing, please? 
How can I download the full data: from 31.12.1927 to 1.1.2023? Thank you so much.

petrcerveny
Автор

looks like you download the data for Apple instead of GSPC

cristiangutierrez
Автор

Oh My God💛! Easy video ranking > Promo-SM!!!

delmarryatt