The standard message header format is as follows.
Table 19 – Standard Message Header
Tag |
Field Name |
Req’d |
Comments |
Format |
8 |
BeginString |
Y |
FIX.4.4 (always unencrypted, must be second field in message) |
String |
9 |
BodyLength |
Y |
(Always unencrypted, must be second field in message) |
Length |
35 |
MsgType |
Y |
(Always unencrypted, must be third field in message) |
String |
49 |
SenderCompID |
Y |
(Always unencrypted). Identifies the firm sending the message. |
String |
56 |
TargetCompID |
Y |
(Always unencrypted). Identifies the firm receiving the message. |
String |
57 |
TargetSubID |
N |
(Always unencrypted). Identifies the firm receiving the message. |
String |
34 |
MsgSeqNum |
Y |
(Can be embedded within encrypted data section.) |
SeqNum |
43 |
PossDupFlag |
N |
Always required for retransmitted messages, whether prompted by the sending system or as the result of a resend request. (Can be embedded within encrypted data section.) |
Boolean |
97 |
PossResend |
N |
Required when message may be duplicate of another message sent under a different sequence number. (Can be embedded within encrypted data section.) |
Boolean |
52 |
SendingTime |
Y |
Can be embedded within encrypted data section. |
UTCTimeStamp |
122 |
OrigSendingTime |
N |
Required for message resent as a result of a ResendRequest. If data is not available set to same value as SendingTime (can be embedded within encrypted data section.) |
UTCTimeStamp |
347 |
MessageEncoding |
N |
Type of message encoding (non-ASCII (non-English) characters) used in a message’s “Encoded” fields. |
String |