Datafeed Toolbox    

Communication Management

For each of the supported financial data servers, the Datafeed Toolbox uses four commands to manage communication:

An additional function, fetch, obtains the desired data from the data server and transfers it to your PC.

Example: The bloomberg Function

Connect to the Bloomberg data server using the bloomberg function. The connection requires a port number and an IP address.

The syntax for the bloomberg function is

The IP address is entered as a MATLAB string. For example, the command

returns a Bloomberg connection object:

The connection field within the object c contains the Bloomberg connection handle that will be used in processing future data requests.

If you want to accept the default port number and IP address provided when your Bloomberg software was installed, enter

with no arguments.


  Communicating with a Financial Data Server Verifying the Connection