Download Datafeed Toolbox User's Guide

Transcript
timeseries
ecallback
Function handle that specifies the function that processes
data event.
Examples
Return intraday ticks for a given date range and use the default socket listener
and event handler. Display the results in the MATLAB workspace in the variable
IQFeedTimeseriesData.
timeseries(q,'ABC',{floor(now),now})
openvar('IQFeedTimeseriesData')
For data that is not aggregated, the fields returned are:
• Timestamp
• Last
• Last size
• Total volume
• Bid
• Ask
• TickID
• IQFEED reserved field
• IQFEED reserved field
• Basis for last
Basis for last is either a C that means the last qualified trade or E that means an
extended trade.
Return the intraday ticks for a date range using the 24-hour military format, per of 60
seconds, and the default socket listener and event handler. Display the results in the
MATLAB workspace in the variable IQFeedTimeseriesData.
timeseries(q,'ABC',{'02/12/2012 09:30:00’,'02/12/2012 16:00:00'},60)
openvar('IQFeedTimeseriesData')
For aggregated data, the fields returned are:
• Timestamp
5-177