Logout (35=5)
The Logout (35=5) message initiates or confirms the termination of a FIX session. Disconnection without the exchange of Logout (35=5) 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 (35=5) 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 (35=5) message, the logout initiator should not send any messages unless requested to do so by the logout acceptor via a ResendRequest (35=2).
SessionStatus values:
- 0 = session active
- 4 = Session logout complete
- 5 = Invalid username or password
- 6 = Account locked
- 7 = Logons are not allowed at this time
Request
Body
required
StandardHeader objectrequired
Must be "FIX.4.4"
Length of the message body in bytes
Message Type
Integer message sequence number
Indicates possible retransmission of message with this sequence number. If a message with this sequence number has been previously received, ignore message; if not, process normally.
See FIX Endpoints for details
See FIX Endpoints for details
Time when the message is being sent out from FIX Gateway
Indicates that message may contain information sent under another sequence number. Forward message to application and determine if previously received (i.e. verify order id and parameters).
Status of the FIX session. Not sent for scheduled server initiated log outs. 0 = session active
4 = Session logout complete, 5 = Invalid username or password, 6 = Account locked, 7 = Logons are not allowed at this time
StandardTrailer objectrequired
Three bytes, simple checksum. Always last field in message
Schema
StandardHeader objectrequired
Must be "FIX.4.4"
Length of the message body in bytes
Message Type
Integer message sequence number
Indicates possible retransmission of message with this sequence number. If a message with this sequence number has been previously received, ignore message; if not, process normally.
See FIX Endpoints for details
See FIX Endpoints for details
Time when the message is being sent out from FIX Gateway
Indicates that message may contain information sent under another sequence number. Forward message to application and determine if previously received (i.e. verify order id and parameters).
Status of the FIX session. Not sent for scheduled server initiated log outs. 0 = session active
4 = Session logout complete, 5 = Invalid username or password, 6 = Account locked, 7 = Logons are not allowed at this time
StandardTrailer objectrequired
Three bytes, simple checksum. Always last field in message