bloomberg
Description
The bloomberg
function creates a bloomberg
object. The bloomberg
object represents a Bloomberg® Desktop connection using the Bloomberg V3 C++ API.
Other Datafeed Toolbox™ functions connect to different Bloomberg services: Bloomberg Server (bloombergServer
)
and Bloomberg
B-PIPE® (bloombergBPIPE
).
For details about these services, see Comparing Bloomberg Connections.
For details about Bloomberg connection requirements, see Data Server Connection Requirements. To ensure a successful Bloomberg connection, perform the required steps before executing
bloomberg
. For details, see Installing Bloomberg and Configuring Connections.
Creation
Description
c = bloomberg
creates a Bloomberg connection object with the Bloomberg Desktop C++ interface. You need a Bloomberg Desktop software license for the machine running the Datafeed Toolbox and MATLAB®.
c = bloomberg(port,
sets the
Port and
TimeOut
properties, and uses the IP address of the local machine running Bloomberg to create a Bloomberg connection.ip
,timeout)
Caution
To refer to a Bloomberg connection in other functions, use the connection object created by the
bloomberg
function. Otherwise, using
bloomberg
as an input argument opens multiple Bloomberg connections, causing unexpected behavior and exhausting memory
resources.
Input Arguments
Properties
Object Functions
Examples
Version History
Introduced in R2021a