Code covered by the BSD License  

Highlights from
Real-Time Datafeed from Yahoo!

Real-Time Datafeed from Yahoo!

by

 

30 Jun 2008 (Updated )

Extension of Datafeed Toolbox's Yahoo object, allowing real-time data to be fetched

display(c)
function display(c) 
%DISPLAY Yahoo connection object display method.

%   Adapted for YAHOORT by Eric C. Johnson, 29-Jun-2008
%   Author(s): C.F.Garvin, 02-25-00
%   Copyright 1999-2002 The MathWorks, Inc. 
%   $Revision: 1.3 $   $Date: 2002/04/14 16:23:26 $

tmp = struct(c) ;   %Extract the structure for display
yahoo = tmp.yahoo;

if isequal(get(0,'FormatSpacing'),'compact')  %Display based on formatting
  disp([inputname(1) ' =']);
  disp(tmp)
else
  disp(' ')
  disp([inputname(1) ' =']);
  disp(' ')
  disp(tmp)
end
display(yahoo);

Contact us