Overview
ISO 3531-2:2022 - Financial services - Financial information eXchange session layer - Part 2: FIX session layer - is the normative ISO specification for the FIX session layer. It defines the rules, behaviors and session profiles that govern establishment, operation, synchronization, recovery and termination of FIX sessions used in electronic trading and financial messaging. The standard provides a formalized reference for FIX engines, session profiles (such as FIX.4.2, FIXT, and LFIXT), message formats and session control procedures.
Key topics and technical requirements
ISO 3531-2:2022 covers a comprehensive set of session-level mechanisms and requirements, including:
- Session identification and profiles: specifications for identifying FIX session peers and selecting a FIX session profile (e.g., FIX.4.2, FIXT, LFIXT) and application version behavior.
- Sequence number handling: rules for assigning, validating and synchronizing MsgSeqNum, including ResetSeqNumFlag and NextExpectedMsgSeqNum behaviors.
- Connection establishment: transport-layer requirements, use of Logon/Logout messages, heartbeat interval negotiation and TestMessageIndicator for testing.
- Keep-alive and heartbeat: heartbeat interval determination and keep‑alive behavior to maintain FIX connections.
- Message exchange and validation: requirements for ordered message processing, validation of SendingTime(52), handling garbled or invalid messages, and Reject semantics.
- Message recovery and retransmission: procedures for ResendRequest/Resend handling, gap fill, sequence reset, and distinguishing session-layer retransmission from application-level resend.
- FIX connection termination: graceful and forced logout flows, retransmission during logout and conditions for terminating transport connections.
- Extended features: session state restoration, 24-hour connectivity resets, and interoperability modes (e.g., LFIXT succinct/compatible modes).
- Routing and encoding: point-to-point and third-party routing considerations and transmitting alternatively encoded messages (Attachment groups).
- Components, messages, fields and code sets: normative lists of StandardHeader/StandardTrailer, core messages (Heartbeat, Logon, Logout, ResendRequest, etc.), field definitions and code sets.
Practical applications and users
ISO 3531-2:2022 is directly applicable to organizations that implement or operate FIX session infrastructure:
- FIX engine vendors and software developers implementing session-layer logic
- Buy- and sell-side trading firms integrating order routing and market connectivity
- Exchanges, ATSs and ECNs deploying FIX gateways and routing
- Middleware providers, market data vendors and algorithmic trading platforms
- QA, interoperability testing teams and compliance officers ensuring protocol conformance
Adopting ISO 3531-2:2022 helps ensure reliable message sequencing, robust recovery from gaps, interoperability across counterparties and standardized session behavior for high-availability trading environments.
Related standards
- ISO 3531-2:2022 complements the broader FIX protocol ecosystem and other FIX specification documents (FIXT and application-level FIX versions). Implementers should reference associated FIX application-layer specifications and any additional ISO parts or industry guidance relevant to FIX messaging and transport.