Datafeed Toolbox    
fetch

Request data from FT Interactive Data

Syntax

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.
Fields
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', 'Fields') returns data for the indicated fields of the designated securities.

data = fetch(Connect, 'Security', 'Fields', 'FromDate', 'ToDate') returns historical data for the indicated fields of the designated securities.

data = fetch(Connect, 'Security', 'Fields', 'FromDate', 'ToDate', 'Period') returns historical data for the indicated fields of the designated securities with the designated period.

data = fetch(Connect, 'String', 'Lookup', 'Type', 'Market', NumRecords, StartRecord) returns data of the requested type by searching within the designated market for the string.

data = fetch(Connect,'','Lookup','Category') returns all valid field or security categories.

data = fetch(Connect,'','GUILookup','GUICategory') opens the
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