| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Datafeed Toolbox |
| Contents | Index |
| Learn more about Datafeed Toolbox |
| On this page… |
|---|
This section uses the Bloomberg financial data server as an example of how to retrieve data with the Datafeed Toolbox software. You can communicate with other supported data servers using a similar set of toolbox functions.
The following set of core functions manage communication with each supported financial data server.
To establish a connection to the appropriate data server, use:
To verify that a connection is working, use isconnection.
To retrieve connection properties, use get.
To terminate a connection, use close.
To retrieve data from the data server and transfer it to your computer, use fetch.
This example shows how to use the bloomberg function to connect to the Bloomberg data server.
The syntax for this function is:
Connect = bloomberg
This function returns a Bloomberg connection object c:
c =
connection: 84554360
ipaddress: '123.456.54.123'
port: 8194
The connection field within the object c contains the Bloomberg connection handle that the bloomberg function uses to process future data requests.
![]() | Communicating with Financial Data Servers | Verifying Connections | ![]() |
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 |