OnixS Euronext CCG Binary Trading Handler for C++  1.16.0.0
Licensing
Administration

Specifing License File

Handler needs a license for successfull execution. If the Handler is not able to find a valid license it will throw an exception at the initialization stage.

The location of the license file directory is specified in OnixS::Euronext::CCG::Handler::Handler constructor.

Example

Following example demostrates how supply license to the Handler:

using namespace OnixS::Euronext::CCG;

// Constructs handler with custom license path.
const char* licenseDirectory  = ".";
LogLevel::Enum logLevel       = LogLevel::Debug;
LogSettings::Enum logSettings = LogSettings::Default;
const char* logFileName       = "logs/log";

Handler (licenseDirectory, logLevel, logSettings, logFileName);