필터 지우기
필터 지우기

How can I succesfully connect to Yahoo Finance?

조회 수: 4 (최근 30일)
Sven Opgenorth
Sven Opgenorth 2017년 4월 24일
댓글: Jeff Wong 2019년 5월 5일
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);
print(d)
close(c)
"
The error code: "Error using yahoo Unable to connect or retrieve data from given URL."
Thanks in advance!

채택된 답변

Vipresh Gangwal
Vipresh Gangwal 2017년 4월 26일
The following webpage may contain a workaround for this issue and instructions on how to apply the fix.
https://www.mathworks.com/support/bugreports/1571158
  댓글 수: 2
Sven Opgenorth
Sven Opgenorth 2017년 5월 4일
THX, works perfectly!
Jeff Wong
Jeff Wong 2019년 5월 5일
Not sure why you said works perfectly when Yahoo no longer provides data any more.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Money.Net에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by