Re: [Quickfix-users] Tag Not defined For This message type
Brought to you by:
orenmnero
From: Grant B. <gbi...@co...> - 2023-03-09 18:59:51
|
Anna, the message has "55=2yr-3yr" twice. Lanxin, can you paste the whole reject message? Is it possible that the reject you are looking at is referring to a different message? Check that the reject's RefSeqNum (tag 45) matches the MsgSeqNum (tag 35) of the message that you think triggers the problem. On Thu, Mar 9, 2023 at 10:28 AM Anna Maria Cochetti < ann...@so...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > The message you reported has no tag 55, indeed. The tag 55 is mandatory, > this is why you have the reject. > Have you tried to see why the counterpart does not populate the tag? > > On Mar 8, 2023 23:46, Lanxin Zhang <lzh...@gm...> wrote: > > Hi, > I am using the QuickFix in a client connecting to a FIX.4.4 server. But it > is rejecting an incoming message from the server. > The incoming message is a market data incremental refresh message (type > 'X'): > 8=FIX.4.4 9=0176 35=X 49=Server 56=Client 52=20230308-22:19:58.392 34=7245 > 268=2 > 279=0 55=2yr-3yr 269=0 270=-33.5575551979 271=0 1500=90 > 279=0 55=2yr-3yr 269=1 270=-31.3489011553 271=0 1500=90 10=034 > However The client generated a reject message like this: 58=Tag not > defined for this message type 371=55 372=X > Here is the spec and configuration i am using: > DefaultApplVerID=FIX.4.4 > ConnectionType=initiator > BeginString=FIX.4.4 > UseDataDictionary=Y > DataDictionary=path/spec/FIX44.xml > FileStorePath=./Sessions/ > ValidateIncomingMessage=N > ValidateUserDefinedFields=N > ValidateFieldsOutOfOrder=N > RejectInvalidMessage=N > > > <message name='MarketDataIncrementalRefresh' msgtype='X' msgcat='app'> > <field name='MDReqID' required='N' /> > <component name='MDIncGrp' required='Y'/> > </message> > > <component name='MDIncGrp'> > <group name='NoMDEntries' required="Y"> > <field name='MDUpdateAction' required='Y' /> > <field name='Symbol' required='N'/> > <field name='MDEntryType' required='N' /> > <filed name='MDEntryPx' required='N' /> > <field name='MDEntrySize' required='N' /> > <field name='MDEntryID' required='N' /> > <field name='NumberOfOrders' required='N' /> > <field name='MDStreamID' required='N' /> > </group> > </component> > > <field number='268' name='NoMDEntries' type='NUMINGROUP' /> > <field number='279' name='MDUpdateAction' type='CHAR'> > <value enum='0' description='NEW' /> > <value enum='1' description='CHANGE' /> > <value enum='2' description='DELETE' /> > </field> > field number='55' name='Symbol' type='STRING' /> > <field number='269' name='MDEntryType' type='CHAR'>...</field > > <field number='270' name='MDEntryPx' type='PRICE' /> > <field number='271' name='MDEntrySize' type='QUOTE' /> > <field number='278' name='MDEntryID' type='STRING' /> > <field number='346' name='NumberOfOrders' type='INT' /> > <field number='1500' name='MDStreamID' type='INT'/> > > I verified my code is properly loading the 4.4 xml file. > > I was wondering if anyone had encountered this before and if they knew > how to resolve it? > > Many thanks in advance. > > Lanxin > > > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > -- Grant Birchmeier Connamara Systems, LLC http://connamara.com -- This email, along with any attachments, is confidential. If you believe you received this message in error, please contact the sender immediately and delete all copies of the message. Thank you from Connamara Systems, LLC. |