Introduction

The EMSX API is available as programmable and with Excel as both COM and Add-In. The EMSX API provides Bloomberg users with the ability to manage and automate Equities, Futures and Options trading using Microsoft Excel/VBA or creating a custom application in C++, C# (.NET), Python and Java. You can also use Matlab using Trading Toolbox and R.

It also allows users to access the full 2000+ global execution venues available through EMSX.

The EMSX API requires separate authorization by the receiving broker on top of the Bloomberg Authorization.

Note

EMSX API users will need the following steps completed before using the EMSX API at the desktop.

  1. Signed ETORSA, Bloomberg Electronic Trading & Order Routing Services Agreement and applicable country legal paperwork, including FIET are required. An override for UAT testing can be requested in the event clients do not have all legal documentation in place. This cannot be performed for the production environment.
  2. Enable EMSX API per UUID by the Global EMSX Trade Desk for Test (Beta) and Production. Enable Excel Add-In inside the Bloomberg Ribbon for those using the Excel Add-In.
  3. To get access to EMSX API in UAT and production, please click <Help><Help> on EMSX<GO>.
  4. Download Bloomberg Desktop API v3 SDK from WAPI<GO> in Bloomberg terminal.

For Server Side EMSX API access, the following additional steps are required on top of the desktop EMSX API requirements.

  1. Signed EMSxNET Order Originator Agreement.
  2. Install serverapi.exe and register with Bloomberg.

To get access to EMSX API in UAT and production, please click <Help><Help> on EMSX<GO>.

Support

For all EMSX functionality and EMSX API techincal inquires please contact the EMSX Trade Desk. They are available 24/6 and please ensure you provide your Bloomberg UUID.

By Bloomberg Terminal:

HELP 2x (F1 key) on your terminal, ask to speak to the EMSX Trade Desk HELP 1x (F1 key) on your terminal, to compose an email message to the EMSX Trade Desk.

By email:

emsx@bloomberg.net

By Phone:

Please call your local global customer support number and ask to speak to the EMSX Trade Desk

+1-212-617-2000 +44-20-7330-7500 +65-6212-1000

EMSX API Code Samples

Important

The latest EMSX API Code samples can be found here.

EMSX API access from Microsoft Excel (COM)

The EMSX API for Excel is accessible using Microsoft Component Object Model (COM) or as part of Bloomberg ribbon within Bloomberg Excel Add-In.

The Microsoft Component Object Model (COM) is a platform-independent, distributed, object-oriented system for creating binary software component that can interact with Bloomberg EMSX API services from your desktop where Bloomberg terminal is installed.

ref:https://msdn.microsoft.com/en-us/library/windows/desktop/ms694363(v=vs.85).aspx

EMSX API access from MATLAB

The EMSX API for MATLAB is accessible by using MATLAB Trading Toolbox in addition to the standard MATLAB package. The matlab samples for EMSX API can be found in both MATLAB Central file exchange.

Please contact your local MATLAB representative for more details on the MATLAB Trading Toolbox.

Important

MathWorks should be your first point of contact for any support while using MATLAB Trading Toolbox. Bloomberg Level II Support desk will not support MATLAB scripts.

EMSX API access from R

The EMSX API currently can not be accessed via R language. The current R repository is designed for market data Bloomberg API usage using both the subscription and request/response services. Unfortunately, this is not a generic Bloomberg API wrapper for R in its current state.