EPAM B2BITS ICE Impact Handler C++  1.1.4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Introduction

API Reference

API Reference

Overview

EPAM B2BITS ICE iMpact Handler(tm) is a C++ library that helps to feed the ICE market data directly into the user's algo-trading application. The library is intended to work on ICE Exchange co-location environment with direct access to UDP Multicast.

Version: 1.1.4

Main features:

Installation Package Includes:

Getting Started

To get started quickly, there are sample applications with source code provided.

In a nutshell, the following steps are to be taken to start getting ICE price feed in a C++ program:

  1. Create an instance of B2BITS ICE Handler:
    ApplicationListener* listener = new MyApplicationListener();
    application->start();
  2. Request Product Definitions:
    application->requestProductDefinitionsForAllMarkets(0, -1, &instrumentLoadParams );
  3. Subscribe to instrument:
    application->subscribeToInstrument( marketID, isFullImplied, PriceLevelDepth, SubscriptionType::BBO | SubscriptionType::Trade, 0 );
  4. Get BBO updates and Trades in MyApplicationListener callbacks:
    void MyApplicationListener::onBBO( const IceImpact::BBOUpdateEvent& event )
    {
    }
    void MyApplicationListener::onMessage( const IceImpact::MessageEvent& event, bool isLastMessageInBlock )
    {
    }

Multicast XML Configuration File

ice_mcast.xml file contains configuration information for various deployment environments. The TCP and Multicast Group addresses are pre-configured in this file.