LOGOUT [35=5]
The Logout message terminates a FIX session.
Message Specification
Message Direction: Bidirectional
Tag | Field Name | Type | Req'd | Description |
---|---|---|---|---|
Message Header | Y | MsgType = 5 | ||
58 | Text | String | O | Logout reason or status |
Message Trailer | Y |
Sample Messages
Client Logout Request:
8=FIX.4.2|9=50|35=5|49=T4Example|56=T4|52=20120904-22:13:57.789|10=123|
Server Logout Response:
8=FIX.4.2|9=100|35=5|49=T4|56=T4Example|50=T4FIX|52=20120904-22:13:57.789| 58=Successful logout upon request|10=234|
Notes
- Initiator should wait for response before disconnecting
- Failed authentication returns Logout with error in Text (58)
- Physical disconnect without Logout is abnormal
- New session requires sequence reset to 1