Products & Services Solutions Academia Support User Community Company

Learn more about Datafeed Toolbox   

idc.fetch - Request data from Interactive Data Pricing and Reference Data's RemotePlus data servers

Syntax

data = fetch(Connect, 'Security', 'Fields')
data = fetch(Connect, 'Security', 'Fields', 'FromDate', 'ToDate')
data = fetch(Connect, 'Security', 'Fields', 'FromDate', 'ToDate', 'Period')
data = fetch(Connect,'','GUILookup','GUICategory')

Arguments

ConnectInteractive Data Pricing and Reference Data's RemotePlus connection object created with the idc function.

'Security'

A MATLAB string containing the name of a security in a format recognizable by the Interactive Data Pricing and Reference Data's RemotePlus server.

'Fields'

A MATLAB string or cell array of strings indicating specific fields for which to provide data. 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.

    Note   You can specify dates in any of the formats supported by datestr and datenum that show a year, month, and day.

'ToDate'

End date for historical data.

'Period'

Period within date range.

'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. Load the file idc/idcfields to see the list of supported fields.

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 dates and period. Consult the Remote Plus documentation for a list of valid'Period' values.

data = fetch(Connect,'','GUILookup','GUICategory') opens the Interactive Data Pricing and Reference Data's RemotePlus dialog box for selecting fields or securities.

Examples

Open the dialog box to look up securities:

D = fetch(Connect,'','GUILookup','S') 

Open the dialog box to select fields:

D = fetch(Connect,'','GUILookup','F')

See Also

idc.close, idc.get, idc, idc.isconnection

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS