|
4.0 Session
< Previous Next >
Re: Resnd request to get Trades for a day
bharath kumar / saracen 12 Dec 2007 7:07PM ET> Hi Barath,
>
> I'm not using QuickFix, but I'm working with FIX 4.2 for one year now,
> implementing my own FIX engine that is in some kind similar to QuickFIX.
> Maybe I can give you some hints...
>
> > 1) Applicaiton Server crashes.Restart the server and also restart the
> > fix client.As soon as the fix client logs in I am sending a RESEND
> > request.Here is the code snippet.
>
> > When I run the fix client it sends a RESEND request to the
> > acceptor.The log file shows the request as 8=FIX.4.29=5135=249=XXXX52=20071208-
> > 00:00:0156=YYYY7=216=010=255
>
> The message looks quite good. It should provoke a resending beginning on
> sequence number 2. Did you try it out with different acceptors? Maybe
> the other side is not able to resend correctly... There is a free FIX
> environment called OpenFIX (http://www.openfix.net/) were you can see
> also the Logfile of the acceptor. Maybe this helps on testing.
>
> > Also let me know if I have to set any of the properties like
> > ResetOnLogout , ResetOnDisconnect to Y.If I set them to Y will I
> > miss out any trades?
>
> As far as I understand QuickFIX, the ResetOnDisconnect or ResetOnLogout
> would only reset the sequence numbers. But this is actually NOT what you
> want, because
> 1.) Probably your own sequence numbers will also be reset. This would
> lead to a ResendRequest from your counterparty...
> 2.) Probably they will set the ResetSeqNum Flag in the Logon Message
> which initiates a reset of sequence numbers on the other side. Some
> engines doesn't allow this. Other ones allow it - but in this case,
> all messages sent earlier are "discarded"! So: If you reset the
> counterparties sequence numbers you won't ever have a chance to
> receive the messages missed before!
>
> The ResendRequest Message is your own chance to get message duplicates!
>
> Hope that helps alittle bit ... :-)
>
> Regards, Eva
Thanks Eva.
Acually, I figured out a way to to get the resend working.we have to reset the seqeuence number for the session to the required number inorder to get the resend messages.
That is how Quickfix works.:)
Re: Resnd request to get Trades for a day bharath kumar / saracen 12 Dec 2007 7:07PM ET
|