Logout Message Fields

A Logout message is usually sent in response to a Logout Request message. Any queued data is transmitted, a Logout message is sent, and Cboe will close the connection. However, a Logout message may also be sent if the Member violates the protocol specification (e.g., by moving backwards in sequence number).

A Logout message is also sent for any ports that are connected when the Cboe Options Exchanges shut down. The shut down time for Cboe Options Exchanges is variable each day but is scheduled to occur at 17:30 ET. The message is sent without first receiving a logout request from the Member. The message contains LogoutReason = E for End of Day.

The Logout message contains the last transmitted sequence number for each unit, allowing the Member to check that their last received sequence number matches.

Table 1. Logout Message Fields
FieldOffsetLengthData TypeDescription
StartOfMessage02BinaryMust be 0xBA 0xBA.
MessageLength22BinaryNumber of bytes for the message, including this field but not including the two bytes for the StartOfMessage field.
MessageType41Binary 0x08
MatchingUnit51BinaryAlways 0 for session level messages.
SequenceNumber64BinaryAlways 0 for session level messages.
LogoutReason101Alphanumeric
  • The reason why the Logout message was sent.
  • U = User Requested
  • E = End of Day
  • A = Administrative
  • ! = Protocol Violation
LogoutReasonText1160TextHuman-readable text with additional information about the reason for logout. Particularly useful if LogoutReason = ! (Protocol Violation).
LastReceived SequenceNumber714BinaryLast inbound (Member to Cboe) message sequence number processed by Cboe.
NumberOfUnits751BinaryA number, n (possibly 0), of unit/sequence pairs to follow, one per unit from which the client has received messages.
UnitNumber 11BinaryA unit number.
UnitSequence14BinaryHighest available sequence number for the unit.
UnitNumber n1BinaryA unit number.
UnitSequencen4BinaryHighest available sequence number for the unit.
Table 2. Logout Response Message Example
Field NameHexadecimalNotes
StartOfMessage BA BAStart of message bytes.
MessageLength 55 0085 bytes
MessageType 08Logout
MatchingUnit 00Always 0 for session level messages
SequenceNumber 00 00 00 00Always 0 for session level messages
LogoutReason 55 U = User Requested
LogoutReasonText 55 73 65 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 User
LastReceived 54 5A 02 00Last Cboe received sequence of 150,100
SequenceNumber
NumberOfUnits 02Two unit/sequence pairs to follow;
UnitNumber 1 01Unit 1
UnitSequence1 4A BB 01 00Last sent sequence of 113,482
UnitNumber 2 02Unit 2
UnitSequence2 00 00 00 00Last sent sequence of 0
Cboe Titanium U.S. Options BOE Specification - Logout Message Fields | Cboe