필터 지우기
필터 지우기

>> Matlab program to read stock price data and run live algorithm.

조회 수: 10 (최근 30일)
Tapan Samaddar
Tapan Samaddar 2012년 4월 13일
댓글: Sinan Islam 2020년 12월 3일
We have developed a financial algorithm that we tested using historical stock price data(read from a text file). Next we want to run the algorithm as a real life simulation.
My idea is to write an additional Perl script that gets stock price from yahoo finance and updates a file X. Then it calls the matlab program, which reads the file X and outputs the data in a file Y(csv,text ... format). I can then use excel or other application to read and plot the output file.
Question: What do you think about my strategy? Is this the best strategy? Can I call the Matlab program directly from Perl? Can the whole program be written in Matlab itself without reverting to Perl? Please advise.

답변 (2개)

Thomas
Thomas 2012년 4월 13일
You can read the stock price directly from the yahoo website
doc urlread
Also MATLAB Trendy does something similar..

Sean de Wolski
Sean de Wolski 2012년 4월 13일
  댓글 수: 1
Sinan Islam
Sinan Islam 2020년 12월 3일
It would be great if Matlab adds an example to show how to stream data from the Datafeed toolbox in real time to a live intraday price chart.

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

카테고리

Help CenterFile Exchange에서 Financial Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by