"BloombergTerminal" (Service Connection)

This service connection requires Wolfram Finance Platform »

Connect your Bloomberg Terminal account to the Wolfram Language to obtain and analyze live market data.

Bloomberg entities are automatically mapped to Wolfram Language entities for immediate or asynchronous lookup.

Connecting & Authenticating

ServiceConnect["BloombergTerminal"] creates a connection to the Bloomberg LP Desktop API. To use this service, you must have an active subscription with Bloomberg Professional Services and Bloomberg Terminal installed.
Authentication occurs via the Bloomberg Terminal app.

Entity Values

Entity["BloombergTerminal","name"]["property"] gets the value of the specified property for the Bloomberg Terminal entity with the specified name.

Requests

ServiceExecute["BloombergTerminal","request",params] sends a request to the BloombergTerminal API, using parameters params.
ServiceExecute[req] sends a ServiceRequest object req to the Bloomberg Terminal API.
ServiceSubmit["BloombergTerminal","request",params] submits an asynchronous task requesting data from the Bloomberg Terminal API, using parameters params.
ServiceSubmit[req] submits an asynchronous task requesting data from the Bloomberg Terminal API.
ServiceSubmit[ContinuousTask[req]] submits a ServiceRequest that object req be continually updated.
ServiceSubmit[ContinuousTask[req,end]] submits a ServiceRequest that object req be continually updated until the time specified by end.
ServiceSubmit[ContinuousTask[req,tspan]] submits a ServiceRequest that object req be continually updated over the time span tspan.
The following requests may be made:

Properties

Requests:

"Properties" look up properties supported by Bloomberg Terminal service

Requests:

"PropertyInformation" look up description for the specified properties.

Parameters:
  • "Properties"(required)Bloomberg properties
  • Requests:

    "PropertySearch" look up description for the specified fields

    Parameters:
  • "Query"NoneBloomberg properties
  • Instruments

    Requests:

    "InstrumentSearch" look up instruments

    Parameters:
  • "Query"Nonequery term
    "YellowKeyFilter"Nonefilter product type
    MaxItems100number of elements to return
  • Market Data

    Requests:

    "Lookup" look up information on Bloomberg Terminal service

    Parameters:
  • "Instrument"(required)Bloomberg instrument name or Bloomberg Global ID (BBGID)
    "Properties"(required)Bloomberg properties
  • Requests:

    "TickData" tick-by-tick history

    Parameters:
  • "Instrument"(required)Bloomberg instrument name or BBGID
    "Date"Automatictime interval of tick events
    "EventType""TRADE"tick events corresponding to the event type
  • Requests:

    "IntradayBars" returns OHLC (open, high, low, close) prices

    Parameters:
  • "Instrument"(required)Bloomberg instrument name or BBGID
    "Date"Automaticdate range, specified as an Interval or Span
    "Event""TRADE"intraday bar data for the corresponding event
  • Requests:

    "HistoricalData" returns historical data

    Parameters:
  • "Instruments"(required)Bloomberg instrument name or BBGID
    "Properties"(required)Bloomberg Properties
    "Date"Automaticdate range
  • Examples

    open allclose all

    Basic Examples  (6)

    Create a new connection:

    Get the property "PX_LAST" of the BloombergTerminal entity "MSFT US Equity":

    Get the first 5 Bloomberg Terminal properties:

    Count all Bloomberg Terminal properties:

    Get "TickEvents" for a "TRADE" event:

    Get "IntradayBars" for a "TRADE" event:

    Get "IntradayBars" for a "BID" event:

    Values stored in the TimeSeries:

    Continually update "BID", "ASK" and "PX_LAST" for an instrument:

    Scope  (7)

    Get an Association for a list of entities:

    Get index members:

    Plot daily "OPEN" price for "GE US Equity" since January 1, 2018:

    Plot "HIGH" price for "GE US Equity" for every "Month" since January 1, 1990:

    Create a ServiceRequest to submit:

    Submit the request and receive updates as they happen:

    Remove the task:

    Create a task:

    Submit the task:

    List the keys:

    Received result:

    Remove all running tasks:

    Create a request to fetch fields:

    Asynchronously fetch fields: