Real-Time SDK - Java

EMA Consumer - Introduction

Download tutorial source code

Click here to download

Last update Sept 2021
Environment Windows, Linux
Compilers JDK 1.7 or greater
Prerequisite Quick Start Guides

Introduction

This series of tutorials aim to show developers, who are new to OMM and EMA, how the API can be used to consume RDM (Domain Models) data from either a deployed the Real-Time Distribution System (RTDS) or the Real-Time -- Optimized (RTO) services within the cloud. Referred to as a Consumer, one of the most common usages of the API is the ability to request market data items and capture and process the real-time responses. EMA is designed as an ease-of-use API providing rapid development with minimal lines of code.

The implementation is presented as a series of steps starting with a barebones EMA application and finishing with examples demonstrating the retrieval of level 1 (Market Price) and level 2 (Market By Price, Market By Order) content. Each step is presented as a separate compilable project and builds on the code from the previous step. The downloadable source code includes the complete series, packaged with both build and run scripts, that presents the basic set of instructions to complete the task. Along with the written instructions for each tutorial, all source code is commented, including command-line parameters to test against the desired streaming environment.

Steps

This series of tutorials will present the following steps:

  • Creating a barebones EMA consumer application
  • Requesting and displaying MarketPrice data
  • Parsing and Decoding MarketPrice data
  • Requesting, parsing, and decoding Level 2 data

References

To learn more about EMA please refer to the