FIX session

term

networking

Kept in this browser · My desk

In FIX, an ordered, two-way stream of messages between two peers within one continuous series of sequence numbers starting at 1, which can outlive several successive connections.

A FIX connection is one logon, message exchange and logout over a transport connection; a session can span many. The session layer realizes level 5 of the OSI model, assumes delivery is normally fine and detects losses as gaps in sequence numbers. It was published as ISO 3531-2 in April 2022.

Lifecycle. The initiator opens the transport connection and sends a Logon (35=A), which must be the first message; the acceptor authenticates it and answers with its own Logon or a Logout. HeartBtInt(108) fixes the heartbeat interval; in silence each side sends Heartbeats (35=0), and if nothing arrives in time a TestRequest (35=1) demands a Heartbeat carrying its TestReqID. Messages are numbered in both directions in one shared space; a gap triggers a ResendRequest, and the peer answers with retransmissions marked PossDupFlag and with SequenceReset gap fills for messages it will not resend. Orderly termination is an exchange of Logouts. Identity. A session is identified by BeginString plus the initiator's and acceptor's CompIDs, and every message must carry the same SenderCompID and TargetCompID as the Logon. After a disconnect. The session layer leaves the fate of open orders to the application; venues define it. B3 cancels all open orders on involuntary disconnection of a FIX EntryPoint session when configured; NYSE's Pillar gateway continues the application sequence on its secondary address but cancels open orders and restarts at 1 on a disaster-recovery switch.

Also known as: fix session layer, fix session protocol, fix connection, iso 3531-2, sessão fix, camada de sessão fix

← Back to F Back to the glossary