Unable to fetch financial data from yahoo using datafeed toolbox and Matlab R2017b

2 views (last 30 days)
Dear Team,
I'm facing issues while using yahoo as the datasource on Matlab, below code produces the following error: Undefined function or variable 'yahoo'.
Code:
y = yahoo;
ticker = 'YNDX'; fetch(y,ticker);
close(y);
Kindly let me know how to use the fetch command using Yahoo or any publicly available API.
Regards

Answers (2)

Jorge Acosta
Jorge Acosta on 18 Mar 2018
I'm also facing this issue with IQF:
>> c = iqf('username','pwd'); Undefined function or variable 'iqf'.
  1 Comment
Steven Lord
Steven Lord on 18 Mar 2018
Check the output of the ver function to confirm that you have Datafeed Toolbox installed. If you don't, you will not be able to use the iqf function from that toolbox.

Sign in to comment.


Image Analyst
Image Analyst on 18 Mar 2018
I believe Yahoo stopped that service. About 2 or 3 months ago I was able to update stock prices in an Excel workbook I had, and it suddenly quit working. When I did some research I found that Yahoo was stopping that service. I don't know of a replacement.

Community Treasure Hunt

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

Start Hunting!