Re: [Quickfix-users] Incorrect Data Format aka possDupFlag issue
Brought to you by:
orenmnero
From: Mike G. <mg...@co...> - 2013-07-08 03:32:53
|
On Sun, Jul 7, 2013 at 8:13 PM, aupadras <ani...@ya...> wrote: > MsgSeqNum=1 > Note: this has no effect, and you should never set tag 34 yourself. > PossDupFlag=N > Note: this also has no effect, and you should never remove PossDupFlag from a message yourself. The presence of PossDupFlag means that quickfix is re-sending a message you sent previously to honor a resend request made by your counterpary. If you don't want the message to be resent, throw DoNotSend, but do not ever set/unset this field yourself. > Problem: I am able to STAGE the order, however the operations of staging is > not smooth i.e.., STAGING the order is followed by following issues (even > though tag 15 is not missing (Currency = 'USD')) the message is getting > rejected) : > Your new order single is not being rejected due to a missing tag 15. Rather, you are rejecting the execution report you are receiving in response to the new order single because the execution report does not contain tag 15. You need to set required="N" for tag 15 for execution report messages in your data dictionary, and don't try to get() that field unless you catch FieldNotFound. > 20130707-20:34:49.164 : Initiated logout request > 20130707-20:34:49.164 : Received logout response > The problem is due to possDupFlag in toAPP and after this reject message I > am getting logged out not able to enter into fromAPP logic (to retrieve > execution report info) > It looks like you are the one initiating the logout. If I delete the possDupFlag from toAPP logic then I am having following > Don't do that :) See above. > Please suggest how to fix the message seq issues or reset issues that are > arising ? Am I using the wrong implementation of possDupFlag in toAPP ? > What > is the best and safest way of implementing the toAPP ? What are the issues > that are creating the problem ? Can we get rid of the possDupFlag > altogather > ? > Start by fixing the tag 15 reject, then figure out why you are initiating that logout. Then make sure you aren't messing with PossDupFlag or MsgSeqNum directly. -- Mike Gatny Connamara Systems, LLC |