The logout message initiates or confirms the disconnection of a FIX session. Disconnection without the exchange of logout messages should be interpreted as an abnormal condition.
The logout initiator should not send any new messages after the logout. The logout recipient may issue Resend Request(2) before responding with its own logout, and the logout initiator must respond to it.
The logout format is as follows:
Logout
Tag |
Field Name |
Req’d |
Comment |
|
Standard Header |
Y |
MsgType = 5 |
58 |
Text |
N |
Free Text |
|
Standard Trailer |
Y |
|
FIX message example:
8 BeginString = FIX.4.2
9 BodyLength = 56
35 MsgType = 5 "Logout"
49 SenderCompID = SERVERTEST
56 TargetCompID = CQGTEST
34 MsgSeqNum = 273
52 SendingTime = 20131122-17:16:21
10 CheckSum = 244