Licensing | Table of Content | Application Level![]() |
| Working With Handler |
Main class to work with Handler is Session.
To create the Session object there are four parameters (obtained from CME):
using OnixS.CmeStpHandler; const string senderCompID = "Sender"; const string senderSubID = "SenderSubId"; const string uri = "https://posttrade.api.uat.cmegroup.com/cmestp/query"; try { session = new Session(new Uri(uri), senderCompID, SenderSubId, password); } catch (LicenseException ex) { Console.WriteLine("License error: " + ex.Message); return; }