Yahoo Historical Data - Did they change the URL recently?

Using R, even if you copy the exact link with crumb, e.g.

https://query1.finance.yahoo.com/v7/finance/download/MSFT?period1=1463461200&period2=1494910800&interval=1d&events=history&crumb=XBOjLoYE5PS

or, at R cmd line,
SPY <- read.csv("https://query1.finance.yahoo.com/v7...&interval=1d&events=history&crumb=XBOjLoYE5PS")

*Full command is truncated here, just mouse over and read bottom of browser.



Yahoo server, still returns,

https:// URLs are not supported by the default method: using "wininet"
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") : cannot open: HTTP status was '401 Unauthorized'

even though the popup downloader is available.

You need to use cookies now, a simple query isn't enough.
 
I have been downloading data from Yahoo Finance for a while and, like others, am not happy it is broken. However, Yahoo was never obliged to provide me with free historical data. It's fine to use free data, but one lesson I am learning is that if you are using the data for your trading, it is good to have a backup plan, since the provider can break things at any time, and you have no recourse.
 
I have been downloading data from Yahoo Finance for a while and, like others, am not happy it is broken. However, Yahoo was never obliged to provide me with free historical data. It's fine to use free data, but one lesson I am learning is that if you are using the data for your trading, it is good to have a backup plan, since the provider can break things at any time, and you have no recourse.
May I ask what is your backup plan?
 
Caution: The data for most splits is adjusted backwards and done on only the closing value, not the adjusted close. To make it even more confusing, some of the split adjustments are correct.
Yahoo HR people need to make sure the new employees know the difference between division and multiplication. I'm amazed problems like this still appear in major corporations in 2017.
 
I have been downloading data from Yahoo Finance for a while and, like others, am not happy it is broken. However, Yahoo was never obliged to provide me with free historical data. It's fine to use free data, but one lesson I am learning is that if you are using the data for your trading, it is good to have a backup plan, since the provider can break things at any time, and you have no recourse.

I noticed that too...to be honest, I was kinda surprised that Yahoo allowed free pulling of data for as long as they have. I was pulling about 480-900 tickers every night and they received no compensation for that bandwidth. I was kind and only pulled the last day or two in an effort to conserve bandwidth as much as possible, but I suspect most people did not do that and just pulled the entire history for whatever stocks they were tracking. There might be a way to pull the same data with Google Finance, but I ended up modifying my puller to pull from IB a few weeks back as I was pretty sure this would happen eventually. I have basically everything that I need now except for next earnings date. I haven't figured out an automated way to pull that.
 
Back
Top