필터 지우기
필터 지우기

How can I get data from a website?

조회 수: 14 (최근 30일)
Adriano
Adriano 2022년 1월 31일
답변: Animesh Gupta 2022년 2월 3일
Hi all,
please open the url http://vixcentral.com/ and click on "HIstorical Prices" tab. I need to get the data of the curve changing the date (see below).
Looking at the image, for the date "October 16, 2008" I need to get the vector [63.880 42.780 35.470 34.320 32.650 31.170 29.260 27.820]. I have no idea of how can I do it. Please, help me. Many thanks!
  댓글 수: 3
Adriano
Adriano 2022년 1월 31일
Unknown websites? It's a very famous website in finance. Search "vix central" in google if you prefere.
jessupj
jessupj 2022년 1월 31일
that stuff all looks like it's server-side generated data. you might need to look through the source code for that page and start with exploring what the 'get prices' button does.

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

답변 (1개)

Animesh Gupta
Animesh Gupta 2022년 2월 3일
Hello Adriano,
It is my understanding that you want to load the data from the mentioned website into MATLAB workspace.
In MATLAB you can use webread to read the content from web services. However, in your case, you can download the data as csv, using Download CSV in the hamburger button in the Historical Places tab and then load the csv file using readtable function into MATLAB workspace.
I hope it helps.

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by