Datafeed Toolbox | ![]() ![]() |
Request data from FT Interactive Data
Syntax
data = fetch(Connect, 'Security', 'Fields
') data = fetch(Connect, 'Security', 'Fields
', 'FromDate', 'ToDate') data = fetch(Connect, 'Security', 'Fields
', 'FromDate', 'ToDate', 'Period'
) data = fetch(Connect, 'String', 'Lookup
', 'Type
', 'Market'
, NumRecords, StartRecord) data = fetch(Connect,'','Lookup
','Category
') data = fetch(Connect,'','GUILookup
','GUICategory
')
Arguments
Connect |
FT Interactive Data connection object created with the idc command. |
Security |
A MATLAB string containing the name of a security in a format recognizable by the FT Interactive Data server. |
|
A MATLAB string or cell array of strings indicating specific fields for which data is to be provided. Valid field names are in the file @idc/idcfields.mat . The variable bbfieldnames contains the list of field names. |
FromDate |
Beginning date for historical data. |
ToDate |
End date for historical data. |
Period |
Period within date range. |
String |
Search string. |
Type |
Lookup type. Possible values are:F (Fields)S (Securities) |
Market |
Market to search. |
NumRecords |
Number of record to fetch. |
StartRecord |
Starting record for fetch. |
Category |
Lookup category. Possible values are:F (All valid field categories)S (All valid security categories) |
GUICategory |
GUI category. Possible values are:F (All valid field categories)S (All valid security categories) |
Description
data = fetch(Connect, 'Security', '
returns data for the indicated fields of the designated securities.Fields
')
data = fetch(Connect, 'Security', '
returns historical data for the indicated fields of the designated securities.Fields
', 'FromDate', 'ToDate')
data = fetch(Connect, 'Security', '
returns historical data for the indicated fields of the designated securities with the designated period.Fields
', 'FromDate', 'ToDate',
'Period'
)
data = fetch(Connect, 'String', '
returns data of the requested type by searching within the designated market for the string. Lookup
', 'Type
', 'Market'
,
NumRecords, StartRecord)
data = fetch(Connect,'','
returns all valid field or security categories.Lookup
','Category
')
data = fetch(Connect,'','
opens the GUILookup
','GUICategory
')
FT Interactive Data dialog for selecting fields or securities.
Examples
returns the first four securities containing the string 'ford'
starting with the first record.
See Also
close
, get
, idc
, isconnection
![]() | close | get | ![]() |