Skip to main content

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
    Text Tag 58 (string)

    Status of the FIX session. Not sent for scheduled server initiated log outs. 0 = session active

    SessionStatus Tag 1409 (integer)

    4 = Session logout complete, 5 = Invalid username or password, 6 = Account locked, 7 = Logons are not allowed at this time

    MsgType Tag 35 (string)

    Possible values: [5]

    Message Type = 5 (Logout)

Logout acknowledged
Schema
    Text Tag 58 (string)

    Status of the FIX session. Not sent for scheduled server initiated log outs. 0 = session active

    SessionStatus Tag 1409 (integer)

    4 = Session logout complete, 5 = Invalid username or password, 6 = Account locked, 7 = Logons are not allowed at this time

    MsgType Tag 35 (string)

    Possible values: [5]

    Message Type = 5 (Logout)