FIX 5.0 SP2 : Logout <5> message

Structure | Sample Message | Related Messages


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 message, the logout initiator should not send any messages unless requested to do so by the logout acceptor via a ResendRequest <2>.

successful-logout-by-initiatorSuccessful Logout by Initiator
successful-logout-by-acceptorSuccessful Logout by Acceptor


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

Sample Message

The '^' character is used to represent SOH character.

8=FIXT.1.1^9=91^35=5^49=SellSide^56=BuySide^34=3^52=20190606-09:46:29.240^1128=9^58=Logout acknowledgement^10=193^

Related Messages