webwrite Scraping data from investing.com

Hello
I'm trying to send a POST request to investing.com in order to store financial stock data for BTC/ETH.
I've tried with the following:
url = 'https://www.investing.com/instruments/HistoricalDataAjax';
response = webwrite(url, 'curr_id',49799,'smlID',145284,'header','BTC/USD Kraken Historical Data','st_date','08/01/2019','end_date','08/01/2019','interval_sec','Daily','sort_col','date','sort_ord','DESC','action','historical_data');
But the only thing I get back is the investing.com homepage.
Thanks for any help!

Answers (0)

Categories

Find more on Application Deployment in Help Center and File Exchange

Products

Release

R2019a

Asked:

on 7 Aug 2019

Community Treasure Hunt

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

Start Hunting!