フィルターのクリア

Using MATLAB to collect and store data from INVESTOPEDIA

4 ビュー (過去 30 日間)
Ulrik William Nash
Ulrik William Nash 2018 年 8 月 2 日
回答済み: Ashutosh Prasad 2018 年 8 月 13 日
I am about to write a script that collects stock price data from INVESTOPEDIA. The data is available free of charge by entering a URL in a standard browser. Needless to say, I don't want to do that manually. I am hoping I can use MATLAB. But how can I collect the data in and store it in a .mat file? Here is an example URL:
https://www.investopedia.com/markets/api/partial/historical/?Symbol=SBUX&Type=%20Historical+Prices&Timeframe=Daily&StartDate=Nov+28%2C+2010&EndDate=Dec+05%2C+2017

採用された回答

Ashutosh Prasad
Ashutosh Prasad 2018 年 8 月 13 日
You can try the webread command to read the table from the url by setting the 'ContentType' option to 'table' and then save the workspace.
Alternatively, you can follow this link to know more about saving an html table to the workspace.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimultaneous and Synchronized Operations についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by