developers:fixapi:standardheader

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
developers:fixapi:standardheader [2025/09/12 01:39] – ↷ Page moved and renamed from developers:fixapi.standardheader to developers:fixapi:standardheader chaddevelopers:fixapi:standardheader [2025/09/17 01:17] (current) chad
Line 1: Line 1:
-====== Standard Header ======+====== STANDARD HEADER ======
  
-All messages (administrative or application) are preceded by a Standard Header. In addition to providing the identification of FIX Session participants, the Standard Header identifies the Message Type (**Tag 35**), Message Length (**Tag 9**), Origination times (**Tag 52** and **Tag 122**) and Message Sequence order (**Tag 34**). The Standard Header also offers additional information on FIX Session authentication, resent messages, duplicated messages, and message routing and delivery.+The Standard Header precedes all FIX messages and provides session identification, message routingand sequencing information.
  
-===== Standard Header Dictionary ===== +===== Core Components ===== 
-^ Tag  ^ Field Name           ^ Req'd ^ Comments                                                                                 | +  * **Message Identity:** BeginString (8), MsgType (35), BodyLength (9
-   | BeginString          | Y     | FIX.4.2                                                                                   | +  * **Session Identity:** SenderCompID (49), TargetCompID (56
-| 9    | BodyLength           | Y     | Length of Current Message                                                                | +  * **Sequencing:** MsgSeqNum (34), SendingTime (52
-| 35   MsgType              | Y     | Message Type                                                                             | +  * **Authentication:** SecureData (91), SecureDataLen (90) - Logon only
-| 49   | SenderCompID         | Y     | T4 Firm Name (outbound from FIX API server). T4 Application Name (inbound into FIX API server). | +
-| 56   | TargetCompID         | Y     | T4 Application Name (outbound from FIX API server). T4 Firm Name (inbound into FIX API server). | +
-| 90   | SecureDataLen        | N     | Length of SecureData (Tag 91) field. Used only in Login Message.                         | +
-| 91   | SecureData           | N     | T4 application license code. Used only in Login Message.                                | +
-34   | MsgSeqNum            | Y     | Sequence number of current message                                                      | +
-| 50   | SenderSubID          | N     | T4 User/Trader Name. Message originator. Conditionally required for non-administrative messages when in Multi-Trader mode. | +
-| 57   | TargetSubID          | N     | T4 User/Trader Name. Message originator.                                               | +
-| 43   | PossDupFlag          | N     | "Y(es)" or "N(o)" Flag that indicates possible retransmission of message with this sequence number | +
-| 97   | PossResend           | N     | "Y(es)" or "N(o)" Flag that indicates that the current message may contain information that has been sent under another sequence number | +
-| 52   | SendingTime          | Y     | Time of message transmission This is the UTC time the message is built within the CTS FIX API server. | +
-| 122  | OrigSendingTime      | N     | Original time of message transmission when transmitting orders as the result of a Resend Request - expressed in UTC (Universal Time Coordinated) | +
-| 369  | LastMsgSeqNumProcessed | N   | The last Sequence Number (Tag 34) value received by the T4 FIX API                      |+
  
 +===== Message Specification =====
  
-[[developers:legacy_fix_api|T4 FIX API Home]]+**Required in all messages**
  
 +^ Tag ^ Field Name ^ Type ^ Req'd ^ Description ^
 +| 8 | BeginString | String | Y | Always "FIX.4.2" |
 +| 9 | BodyLength | Int | Y | Message length (excluding 8, 9, 10) |
 +| 35 | MsgType | String | Y | Message type identifier |
 +| 34 | MsgSeqNum | Int | Y | Message sequence number |
 +| 49 | SenderCompID | String | Y | Sender identifier |
 +| 56 | TargetCompID | String | Y | Target identifier |
 +| 52 | SendingTime | UTCTimestamp | Y | Message transmission time |
 +| 43 | PossDupFlag | Boolean | O | Y=Possible duplicate |
 +| 97 | PossResend | Boolean | O | Y=Possible resend |
 +| 50 | SenderSubID | String | C | Trader name (Multi-Trader mode) |
 +| 57 | TargetSubID | String | O | Target trader name |
 +| 122 | OrigSendingTime | UTCTimestamp | C | Original time (resends only) |
 +| 369 | LastMsgSeqNumProcessed | Int | O | Last received sequence |
 +| 90 | SecureDataLen | Int | C | License code length (Logon only) |
 +| 91 | SecureData | String | C | License code (Logon only) |
 +
 +===== Direction Rules =====
 +**Inbound (Client → T4):**
 +  * SenderCompID (49) = T4 Application Name
 +  * TargetCompID (56) = T4 Firm Name
 +
 +**Outbound (T4 → Client):**
 +  * SenderCompID (49) = T4 Firm Name
 +  * TargetCompID (56) = T4 Application Name
 +
 +===== Notes =====
 +  * First three tags must be: 8, 9, 35
 +  * Multi-Trader mode requires SenderSubID (50) for order messages
 +  * SecureData/SecureDataLen used only in Logon
 +  * Times in UTC format: YYYYMMDD-HH:MM:SS.sss
  • developers/fixapi/standardheader.txt
  • Last modified: 2025/09/17 01:17
  • by chad