T = realtime(c,Srv,Sec)
asynchronously requests real-time or streaming
data from the FactSet Workstation. When
Cb is not specified, the
default message event handler
factsetMessageEventHandler is
used.
Request FactSet Workstation Real-Time Data with User-Defined Event Handler
To request real-time or streaming data for the symbol 'ABDC-USA' from
the service 'FDS1', a user-defined event handler
(myMessageEventHandler) is used to process message
events using this syntax.
t = realtime(c,'FDS1','ABCD-USA',@(varargin)myMessageEventHandler(varargin))
Request FactSet Workstation Real-Time Data Using Default Event Handler
To request real-time or streaming data for the symbol 'ABDC-USA' from
the service 'FDS1', using this syntax.
t = realtime(c,'FDS1','ABCD-USA')
The default event handler is used which returns a structure X to
the base MATLAB® workspace containing the latest data for the
symbol 'ABCD-USA'. X is updated
as new message events are received.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.