File Exchange Pick of the Week

Our best user submissions

Stock Ticker

I’m one of those geeks who loves doing everything in MATLAB. Data Analysis: Check. Search Google: Check. Write Reports: Check. Now I can add one more item to my list, keeping up with my stocks. Thanks to Brian Kiernan’s clever Real-Time Stock Viewer I can now have a stock ticker running from within MATLAB all day long. It uses a live feed to Yahoo (it works with Bloomberg, too) to get real-time data on a single stock at a time. If only it could tell me when to sell my losers …

This is a nice example of using MATLAB’s timer object (introduced in R13, I believe) to run a process continually without blocking MATLAB.

Note: This submission requires the Datafeed Toolbox to get live stock quotes. If you don’t have it, you’ll have to live with random stock data.

  • print


댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.