Logout (MsgType = 5)

The logout message initiates or confirms the termination of a FIX session. Disconnection without the exchange of logout messages should be interpreted as an abnormal condition.

Before actually closing the session, the logout initiator should wait for the opposite side to respond with a confirming logout message. This gives the remote end a chance to perform any Gap Fill operations that may be necessary. The session may be terminated if the remote side does not respond in an appropriate timeframe.

After sending the Logout (5) message, the logout initiator should not send any messages unless requested to do so by the logout acceptor via a Resend Request (2) .

Tag Field Name FIXML Req'd Comments
<Standard Message Header> Y MsgType = 5
1409 SessionStatus N Session status at time of logout.
58 Text N
354 EncodedTextLen C Must be set if EncodedText (355) field is specified and must immediately precede it.
355 EncodedText C Encoded (non-ASCII characters) representation of the Text (58) field in the encoded format specified via the MessageEncoding (347) field.
<Standard Message Trailer> Y