How can I succesfully connect to Yahoo Finance?
3 views (last 30 days)
There seems to be a problem with connecting to Yahoo Finance that started a few days ago: Code:
" c = yahoo;
sec = 'IBM';
field = 'Close'; % retrieve closing price data
fromdate = '01/01/2012'; % beginning of date range for historical data
todate = '06/30/2012'; % ending of date range for historical data
d = fetch(c,sec,field,fromdate,todate);
The error code: "Error using yahoo Unable to connect or retrieve data from given URL."
Thanks in advance!