Header and Trailer
Standard Message Header
Each message is preceded by a standard header. The header identifies the message type, length, destination, sequence number, origination point and time.
Tag | FixName | Req | Valid Values | Data Type | Description |
|---|---|---|---|---|---|
8 | BeginString | Y | FIXT1.1 | String | Identifies beginning of new message and protocol version. |
9 | BodyLength | Y |
| Int | Message length, in bytes, up to the CheckSum field. |
35 | MsgType | Y | All msg types supported | String | Defines message type. |
34 | MsgSegNum | Y |
| Int | Message sequence number. |
1128 | AppVerID | N | 9 = FIX50SP2 | String | Indicates application version using a service pack identifier. |
43 | PossDupFlag | N | Y = Possible Duplicate | Boolean | Indicates possible retransmission of message with this sequence number. |
49 | SenderCompID | Y |
| String | Assigned value used to identify firm sending the message. |
52 | SendingTime | Y |
| UTC Timestamp | Time of message transmission. (always expressed in UTC (Universal Time Coordinated, also known as “GMT”) |
56 | TargetCompID | Y |
| String (32) | Identifies the router receiving the message. |
97 | PossResend | N | Y = Possible resend | Boolean | Indicates that the message may contain information that has been sent under another sequence number. |
115 | OnBehalfOfCompID | N |
| String(32) | A unique identifier assigned by the exchange to your firm. |
122 | OrigSendingTime | N |
| UTC Timestamp | Required for messages resent as a result of a ResendRequest, including Gap Fill messages. |
128 | DeliverToCompID | N |
| String (32) | Identifies the target executing system. |
116 | OnBehalfOfSubID | N |
| String (32) | Value sent by the client that indicates the screen or user from which it originated. |
129 | DelliverToSubID | N |
| String (32) | Value sent by the client indicating the specific destination to which the message is sent. |
Standard Message Trailer
Each message is terminated by a standard trailer.
Tag | FixName | Req | Valid Values | Data Type | Description | |
|---|---|---|---|---|---|---|
10 | CheckSum | Y |
| String(3) | Three byte, simple checksum. | |
Interconnection agreements between markets
The following tags are reserved for future use in routing scenarios involving more than two markets (eg. when a market sends orders to another via a third party):
OnbehalfOfCompID
DeliverToCompID
HopGrp
We repeat the values for SenderCompID and TargetCompID in the tags OnbehalfOfCompID and DeliverToCompID respectively.
Example header and trailer:
8=FIXT.1.1|9=61|35=0|34=17434|49=user_A|52=20250825-15:37:30.716|56=ROFX|10=175