Code covered by the BSD License  

Highlights from
Nested Function Live Stock Ticker

4.66667

4.7 | 3 ratings Rate this file 3 Downloads (last 30 days) File Size: 3.04 KB File ID: #8454

Nested Function Live Stock Ticker

by Scott Hirsch

 

08 Sep 2005 (Updated 06 Jan 2010)

An example using nested functions and WSDL to create a live stock-ticker.

| Watch this File

File Information
Description

This application uses a WSDL web service to provide live (albeit 20 minute delayed) stock quotes. By using a MATLAB timer object, it runs continuously as a background task (without blocking the MATLAB command line).

This application is not meant to be a serious stock ticker - it is intended to highlight usage of nested functions. If you really need to
get live stock prices into MATLAB, please use the Datafeed Toolbox.

This application is posted as a supplement to the nested function tip published in the October, 2005 issue of MATLAB News & Notes.

1/6/2010: The stock quote service used in this example is no longer available.

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
05 Jan 2006 nafiz sezen  
16 Jan 2007 James Earlson

Great!

10 Dec 2007 Betsy` Cantwell

good

Please login to add a comment or rating.
Updates
06 Jan 2010

Updated copyright.

Tag Activity for this File
Tag Applied By Date/Time
nested function Scott Hirsch 22 Oct 2008 07:59:42
timer Scott Hirsch 22 Oct 2008 07:59:42
realtime Scott Hirsch 22 Oct 2008 07:59:42
callback Scott Hirsch 22 Oct 2008 07:59:42
function handle Scott Hirsch 22 Oct 2008 07:59:42

Contact us at files@mathworks.com