Yahoo Finance download works
4 ビュー (過去 30 日間)
古いコメントを表示
yahoo finance keeps changing the access all the time. This worked for me today:
username='your_username';
password='your_password';
url = ['https://query1.finance.yahoo.com/v7/finance/download/%5EGSPC?period1=1515598917&period2=1518277317&interval=1d&events=history&crumb=YVRIYBUVW5A'];
data = urlread(url,'post',{username, password});
Can anyone tell me if using "webread" is any better and why?
0 件のコメント
回答 (1 件)
NISARGA G K
2018 年 3 月 5 日
I understand that you would like to know how 'webread' is better than 'urlread'. The 'webread' returns data formatted as an internet media type such as JSON, XML, image, or text whereas urlread does not retrieve hyperlink targets and images. The following link would help you understand better
https://github.com/isetbio/RemoteDataToolbox/issues/16
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Money.Net についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!