Inner Contents | |
Adjusting Handler Settings | |
Controlling Handler Logging | |
Events in the Handler | |
Error Handling | |
Warning Handling | |
Understanding Handler States | |
Trading | |
All the Handler classes are encapsulated into the OnixS::Eurex::Trading
namespace. Header files are collected in the master "OnixS/Eurex/Trading/Trading.h"
header file.
The typical way of using the Handler is as follows:
OnixS::Eurex::Trading::HandlerSettings
class and adjust Handler
's settings.OnixS::Eurex::Trading::Handler
class using previously initialized instance of OnixS::Eurex::Trading::HandlerSettings
.OnixS::Eurex::Trading::Logon
class and adjust session settings.OnixS::Eurex::Trading::Logon::encryptedPassword
field with encrypted password to use password encrypted session logon. Otherwise, assign OnixS::Eurex::Trading::Logon::password
field with plain text password.OnixS::Eurex::Trading::Handler::connect
method.OnixS::Eurex::Trading::UserLoginRequest
class and adjust user logon settings.OnixS::Eurex::Trading::Handler::send
method.OnixS::Eurex::Trading::UserLogoutRequest
class and adjust user logout settings.OnixS::Eurex::Trading::Handler::send
method.OnixS::Eurex::Trading::Handler::disconnect
method.For FIX Engine fields in OnixS::Eurex::Trading::Logon
class it is allowed to use the following values:
logon.fixEngineName = "OnixS Eurex ETI Handler"; logon.fixEngineVersion = Handler::version(); logon.fixEngineVendor = "Onix Solutions Ltd.";
But users may not use these values and use their own values instead.
For application fields in OnixS::Eurex::Trading::Logon
class users must use their own values that represent their application. For example:
logon.applicationSystemName = "My Application"; logon.applicationSystemVersion = "1.0.0"; logon.applicationSystemVendor = "My Company";
The Handler supports plain test password session logon. To use this feature, the following steps should be performed:
OnixS::Eurex::Trading::Logon
class and adjust session settings.OnixS::Eurex::Trading::Logon::password
field with plain text password.OnixS::Eurex::Trading::Handler::connect
method.The Handler supports password encrypted session logon. To use this feature, the following steps should be performed:
OnixS::Eurex::Trading::Logon
class and adjust session settings.OnixS::Eurex::Trading::Handler::encryptPassword
method.OnixS::Eurex::Trading::Logon::encryptedPassword
field with encrypted password.OnixS::Eurex::Trading::Handler::connect
method.To encrypt a password you will need an RSA public key. You can find these keys for Production
and Simulation
in the samples/Keys
directory.
Please also see section 5.3.3 Password Encryption of Enhanced Trading Interface (ETI) Manual to get more information about password encryption.