datafeed toolbox

2 ビュー (過去 30 日間)
Mate 2u
Mate 2u 2012 年 6 月 21 日
Hi there, I have tried to use the yahoo functionality, however when I fetch for prices, it seems that its not the current price.
Is there any other way we can get live prices ("for free") into matlab?
Thanks

回答 (1 件)

Javier
Javier 2012 年 9 月 13 日
Hello Mate 2u
Procedure to get Current Price (15 minutes delay, what yahoo gives you) here.
%Retrieving last price from Yahoo
Instruments={'SAN.MC'};
conn=yahoo;
Field='Last';
Price=fetch(conn,Instruments,Field);
You can make a loop to get several prices. Each time you execute the last line, price that you see in yahoo will send to matlab.
If this solve your question please grade.
Best regards
Javier

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by