• Version 4.1.0
Show / Hide Table of Contents

Working with Handler

The main class to work with Handler is Session.

To create the Session object, there are four parameters (obtained from CME):

  • CME Straight Through Processing Service URI
  • SenderCompID - Assigned value used to identify customer firm sending a message.
  • SenderSubID - The user ID assigned to the sender, must be provided in all uppercase letters.
  • Password - CME assigned password.

For example:

const string uri = "https://servicesnr.cmegroup.com/cmestp/query";
const string senderCompID = "Sender";
const string senderSubID = "SenderSubId";
const string password = "Password";
try
{
    Session session = new Session(new Uri(uri), senderCompID, senderSubID, password);
}
catch (Exception ex)
{
    Console.WriteLine($"Handler error: {ex.Message}");
    return;
}
In this article
Back to top Copyright © Onix Solutions.
Generated by DocFX