Resend Request (MsgType=2)

The resend request is sent by the receiving application to initiate the retransmission of messages. This function is utilized if a sequence number gap is detected, if the receiving application lost a message, or as a function of the initialization process.

 

The resend request can be used to request a single message, a range of messages or all messages subsequent to a particular message.

 

The resend request format is as follows:

Resend Request

Tag

Field Name

Req’d

Comment

 

Standard Header

Y

MsgType = 2

7

BeginSeqNo

Y

Begin Sequence Number

16

EndSeqNo

Y

End Sequence Number. If request is for all messages subsequent to a particular message, EndSeqNo (16) = '0' (representing infinity).

 

Standard Trailer

Y

 

 

FIX message example:

     8 BeginString                      = FIX.4.2

     9 BodyLength                      = 100

    35 MsgType                          = 2      "ResendRequest"

    34 MsgSeqNum                    = 2  

    49 SenderCompID               = SERVERTEST

    52 SendingTime                   = 20140121-18:07:28.737

    56 TargetCompID                = CQGTEST

     7 BeginSeqNo                     = 1  

    16 EndSeqNo                       = 0      "Infinity"

    10 CheckSum                       = 159