Clear Filters
Clear Filters

Yahoo! Finance Fetch Issue - Couldn't Resolve it

3 views (last 30 days)
Hi,
I followed the instructions on:
and downloaded the files from:
The files are fetch.m and yahoo.p, not yahoo.m. Is that correct?
Also, I put them into @yahoo and it still doesn't work.
The error is (still): "Error using yahoo/fetch (line 387) Unable to return historical data for given security."
I tried getting 2017a, but it hasn't been fixed there.
Any advice would be helpful.
  4 Comments
Shubham Srivastava
Shubham Srivastava on 23 May 2017
Edited: Shubham Srivastava on 23 May 2017

The below post on the Yahoo Community Forum seems to suggest that the services have been stopped and may not be continued.

https://forums.yahoo.net/t5/Yahoo-Finance-help/Is-Yahoo-Finance-API-broken/td-p/250503/page/3

Sign in to comment.

Answers (1)

Christopher Reeves
Christopher Reeves on 24 May 2017
Yahoo seems to have changed their API
I could not figure out how to query from their new API so the new script uses google instead.
Cheers!
-Chris Reeves

Categories

Find more on Financial Data in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!