Each iLink 3 session is represented with a unique 64-bit identifier (UUID). CME Group recommends using the system timestamp, which represents the number of microseconds since epoch (Jan 1, 1970) as the timestamp. Business messages received from the exchange are recoverable for the sequence number + UUID
combination.
The OnixS::CME::iLink3::Session automatically generates the UUID in the following cases:
One can pass a UUID value manually to the OnixS::CME::iLink3::Session::Session constructor.
To read the UUID value, use the OnixS::CME::iLink3::Session::uuid() const method.
For example:
More details about UUID can be found in the Universally Unique Identifier (UUID) article.
To reset the UUID intra-session on the same trading day, use the OnixS::CME::iLink3::Session::reset(bool startOfWeek=false
) method.
To reset the UUID before the first connection of the week (so-called "Weekly Reset"), use the OnixS::CME::iLink3::Session::reset(bool startOfWeek=true
) method.