Determine Bloomberg connection V3


  • v = isconnection(c)


v = isconnection(c) returns true if c is a valid Bloomberg® V3 connection and false otherwise.


expand all

Validate the Bloomberg Connection

Create the Bloomberg connection.

c = blp;

Alternatively, you can connect to the Bloomberg Server API using blpsrv or Bloomberg B-PIPE® using bpipe.

Validate the Bloomberg connection.

v = isconnection(c)
v =


v returns true showing that the Bloomberg connection is valid.

Close the Bloomberg connection.


Input Arguments

expand all

c — Bloomberg connectionconnection object

Bloomberg connection, specified as a connection object created using blp.

Output Arguments

expand all

v — Valid Bloomberg connectiontrue | false

Valid Bloomberg connection, returned as a logical true, 1, or a logical false, 0.

See Also

| | | |

Was this topic helpful?