Yahoo Finance stock historical price query

books on shelf

I’ve been trying to track my porfolio’s progress manually by downloading historical stock prices for the duration that I own them.

It seemed to be easier to download stock price for single stock if I happen to own them for a particular date.

I think I got things to work mostly but when it comes to netflix stocks, it won’t retrieve the data.

For example:

[temp, status] = urlread([‘https://query1.finance.yahoo.com/v7/finance/download/GOOG?’…

‘period1=1568592000&period2=1568678400&interval=1d&events=history’],…

‘post’,{‘[email protected]’, ‘historical stocks’},’Timeout’,10);

works great but

[temp, status] = urlread([‘https://query1.finance.yahoo.com/v7/finance/download/NFLX?’…

‘period1=1568592000&period2=1568678400&interval=1d&events=history’],…

‘post’,{‘[email protected]’, ‘historical stocks’},’Timeout’,10);

does not work.

How can I make this work?

Latest posts