fds

Create FactSet Data Server connection

Syntax

  • c = fds(UserName,Password) example
  • c = fds(UserName,Password,Finfo) example

Description

example

c = fds(UserName,Password) connects to the FactSet® Data Server or local workstation using the field information file, rt_fields.xml, found on the MATLAB® path. The file rt_fields.xml can be obtained from FactSet.

example

c = fds(UserName,Password,Finfo) connects to the FactSet Data Server or local workstation using the specified field information file (Finfo).

Examples

expand all

Create FDS Connection

Connect to the FactSet Data Server.

c = fds('USER','123456');

This creates the connection object C using the field information file, rt_fields.xml, found on the MATLAB path. You can obtain the file rt_fields.xml from FactSet.

Create FDS Connection Using Finfo

Connect to the FactSet Data Server using the optional Finfo input argument.

c = fds('USER','123456',...
'C:\Program Files (x86)\FactSet\FactSetDataFeed\fdsrt-2\etc\rt_fields.xml');

This creates the connection object c.

Input Arguments

expand all

UserName — User login namestring

User login name to FactSet Data Server, specified as a string.

Data Types: char

Password — User passwordstring

User password to FactSet Data Server, specified as a string.

Data Types: char

Finfo — Field informationstring

Field information, specified as a string.

Example: 'C:\Program Files (x86)\FactSet\FactSetDataFeed\fdsrt-2\etc\rt_fields.xml'

Data Types: char

Output Arguments

expand all

c — FactSet Data Server connectionconnection object

FactSet Data Server connection, returned as a connection object.

See Also

| |

Was this topic helpful?