Re: [Quickfix-developers] Conditionally Required Field Missing (35)
Brought to you by:
orenmnero
From: Tom H. <to...@go...> - 2010-06-13 08:18:40
|
This means you are trying to read the value of a tag that is not in the message. Do an msg.isSetField first before trying to read it. Tom Tom Higgins Group CEO Gold-i Ltd & Gold-i LLC MetaQuotes UK & US Mob: +44 (0)7770 950038 Dir: +44 (0)1483 685412 Tel: +44 (0)1483 685410 www.gold-i.com to...@go... Surrey Technology Centre 40 Occam Road Guildford Surrey GU2 7YG Exclusive UK and US Distributor for MetaTrader and TeamWox Finalist for the Global Entrepreneurship Competition- HiT 2010, Barcelona 2010 Winner of the Young Business of the Year Award 2010 NOTICE TO RECIPIENT The information in this email and any attachments may contain confidential and/or privileged information. It is intended solely for the addressee(s). If you are not the intended addressee, please notify the sender immediately (and destroy this email and any attachments from all computers). Any review, copying, redistribution in whole or in parts of this email or its attachments or any other action in reliance to this email or its attachments is strictly prohibited. Email transmission security and error-free status cannot be guaranteed as information could be intercepted, corrupted, destroyed, delayed, incomplete or contain viruses. The sender therefore does not accept any liability for any errors or omissions in the contents of this email or its attachments which may arise as a result of email transmission. -----Original Message----- From: Marco Nicolini [mailto:sg...@ya...] Sent: 13 June 2010 8:36 AM To: or...@qu... Cc: qui...@li... Subject: Re: [Quickfix-developers] Conditionally Required Field Missing (35) QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html QuickFIX Support: http://www.quickfixengine.org/services.html Oren, thanks for the hint, i will look into it as soon as i get back to work (i'm ill @ home right now). Sorry for having posted on the wrong mailing list. It should have been quickfixJ from the beginning. For the time being i got around this brutally hacking the source of quickfixj (my app is not meant to be a production ready system so, i could afford it), still i want to understand what's going on. Thanks again and sorry for posting to the wrong list. Marco --- Gio 10/6/10, or...@qu... <or...@qu...> ha scritto: > Da: or...@qu... <or...@qu...> > Oggetto: RE: [Quickfix-developers] Conditionally Required Field > Missing (35) > A: "Marco Nicolini" <sg...@ya...> > Cc: qui...@li... > Data: Giovedì 10 giugno 2010, 15:15 > Marco, > > Does this happen even if your fromApp method is empty? I'm trying to > determine if the engine itself is causing a problem or your code. > Also you might want to post this to thie quickfixj mailing list if you > haven't already. > > --oren > > > -------- Original Message -------- > > Subject: [Quickfix-developers] Conditionally Required > Field Missing > > (35) > > From: Marco Nicolini <sg...@ya...> > > Date: Tue, June 08, 2010 12:39 pm > > To: qui...@li... > > > > > > QuickFIX Documentation: > > http://www.quickfixengine.org/quickfix/doc/html/index.html > > QuickFIX Support: http://www.quickfixengine.org/services.html > > > > Hello, > > I'm developing a quick app to do some testing, and > i've found out that quickfixj sends a business reject message with no > apparent (at least to me) reason: > > > > After my app sends a request for quote, the system i'm > testing against sends a 35=b and a 35=S (quote) messages: > > > > > 8=FIX.4.2#9=325#35=b#34=109#49=RCBVIE#52=20100608-17:05:06.305#56=CATS > OS#122=20100608-17:05:06.305#128=2123#129=catsos#145=RCBVIE#131=127601 > 67506290#117=12760167506290#297=100#296=1#302=1#311=XXX#304=1#295=1#29 > 9=1#55=catsos#48=DE000HV5BU04#22=4#167=OPT#200=201102#205=24#201=1#202 > =75.000000#206=S#231=10.000000#107=this > and that#10=003# > > > > > 8=FIX.4.2#9=325#35=S#34=110#49=RCBVIE#52=20100608-17:05:06.309#56=CATS > OS#122=20100608-17:05:06.309#128=2123#129=catsos#145=RCBVIE#22=4#48=DE > 000HV5BU04#55=catsos#107=this > and > that#117=12760167506290#131=12760167506290#132=100.000000#133=101.0000 > 00#134=200#135=200#167=OPT#200=201102#201=1#202=75.000000#205=24#206=S > #231=10.000000#10=165# > > > > And those are the rejects sent out by quickfixj: > > > 8=FIX.4.2#9=120#35=j#34=80#49=CATSOS#52=20100608-17:06:54.472#56=RCBVI > E#45=109#58=Conditionally Required Field Missing > (35)#372=b#380=5#10=194# > > > > > 8=FIX.4.2#9=120#35=j#34=81#49=CATSOS#52=20100608-17:06:54.472#56=RCBVI > E#45=110#58=Conditionally Required Field Missing > (35)#372=S#380=5#10=172# > > > > I don't receive the messages in the fromApp method and > reviewing the source of Session.java i see that 35 (the number > appended to the reject reason) is really the field quickfix think to > be missing (which i do believe instead to be it's present see the dump > above). > > > > I'm using the following config regarding validation: > > DataDictionary=FIX42.xml > > UseDataDictionary=Y > > ValidateUserDefinedFields=N > > AllowUnknownMsgFields=Y > > CheckLatency=N > > ValidateFieldsOutOfOrder=N > > > > but trying with UseDataDictionary=N has no effect > whatsoever. > > Anyone has an idea of what might be going on? > > > > Regards, > > Marcello > > > > > > > > > > > > > > > ---------------------------------------------------------------------- > -------- > > ThinkGeek and WIRED's GeekDad team up for the Ultimate > > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to > the > > lucky parental unit. See the prize list and > enter to win: > > http://p.sf.net/sfu/thinkgeek-promo > > _______________________________________________ > > Quickfix-developers mailing list > > Qui...@li... > > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Quickfix-developers mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfix-developers |