Bloomberg

Overview

The Bloomberg Terminal has built-in functions which execute various kinds of data analyses on markets or securities. The Bloomberg Adapter API allows you to control the behavior of the Bloomberg Terminal panels by invoking Bloomberg functions with a custom set of arguments:

(Composite runFunctionResult)
T42.BBG.RunFunction (String mnemonic, String panel, String[] properties, String[] securities, String tails)
  • mnemonic - the Bloomberg function mnemonic;
  • panel - on which Bloomberg panel to execute the function (possible values are from 1 to 4);
  • properties - additional properties that can be specified when running the function;
  • securities - for which securities to execute the function;
  • tails - optional parameters passed to the function to tailor the panel output;

Below is an example of invoking a Bloomberg function named "DVD" via the io.Connect JavaScript Interop API. The function will be executed in panel "2" of the Bloomberg Terminal for the "IBM US Equity" security.

io.interop.invoke(
    "T42.BBG.RunFunction",
    {
        mnemonic: "DVD",
        panel: "2",
        securities: ["IBM US Equity"]
    });