how can I get currency exchange from yahoo finance and google finance?
조회 수: 9 (최근 30일)
이전 댓글 표시
for example ticker='EURUSD=X' I tried fetch, but it only gives the current price, historical data is not available I tried dftool, it's the same, anyone has solution for this? thanks a lot!
댓글 수: 0
답변 (2개)
Sean de Wolski
2014년 6월 11일
You'll want to specify the date ranges to yahoo's fetch:
Example:
y = yahoo;
x = fetch(y,'SAM','Close','Aug 1 2012','Mar 20 2014')
댓글 수: 3
Sean de Wolski
2014년 6월 11일
That's apparently not a valid security or at least not in the expected format.
Josh Perry
2015년 8월 16일
yahoo and google will only give you today's information for currencies. To get historical data you must use another data feed service.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Web Services에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!