Re: [Quickfix-users] "Value is incorrect (out of range) for this tag" error for tag 35
Brought to you by:
orenmnero
From: Ulisses <hay...@gm...> - 2009-03-24 00:45:52
|
Hi Arni, You need to include a enum value for the field number 35, as in: *-* <http://www.quickfixengine.org/FIX44.xml#> <field number="*35*" name="* MsgType*" type="*STRING*"> * * <value enum="*0*" description="*HEARTBEAT*" /> * * <value enum="*1*" description="*TEST_REQUEST*" /> * * <value enum="*2*" description="*RESEND_REQUEST*" /> ..... *<value enum="U2" description="AccountInfo description" />* </field> Ulisses. On Mon, Mar 23, 2009 at 8:12 PM, Arni Westh <arn...@gm...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hi > > I am having a problem with parsing a broker specific message. I have added > the following message specification to FIX44.xml: > > <message name="AccountInfo" msgtype="U2" msgcat="app"> > <field name="AccountName" required="Y"/> > <field name="Currency" required="Y"/> > <field name="Leverage" required="Y"/> > <field name="UsableMargin" required="Y"/> > <field name="Equity" required="Y"/> > </message> > > and the following field specifications: > > <field number="7004" name="AccountName" type="STRING"/> > <field number="7005" name="Leverage" type="INT"/> > <field number="7006" name="UsableMargin" type="AMT"/> > <field number="7007" name="Equity" type="AMT"/> > > This message is rejected by the QuickFIX engine (quickfix-1.12.4) with the > reject message "Value is incorrect (out of range) for this tag" for tag 35. > That is, the MsgType field (35) containing the value "U2" is rejected, as > far as I understand: > > <20090323-10:47:45, FIX.4.4:XXX->DUKASCOPYFIX, incoming> > (8=FIX.4.4 9=131 35=U2 34=2 49=DUKASCOPYFIX 52=20090323-10:47:45.746 > 56=XXX 15=USD 7004=demo_backoffice_@n 7005=100 7006=999915.08 > 7007=999915.08 > 10=161) > > <20090323-10:47:45, FIX.4.4:XXX->DUKASCOPYFIX, outgoing> > (8=FIX.4.4 9=135 35=3 34=2 49=XXX 52=20090323-10:47:45.776 56=DUKASCOPYFIX > 45=2 58=Value is incorrect (out of range) for this tag 371=35 372=U2 373=5 > 10=217) > > I am quite puzzled by this rejection since the incoming message seems OK > compared to the xml specification. I would appreciate any comments on this. > -- > View this message in context: > http://www.nabble.com/%22Value-is-incorrect-%28out-of-range%29-for-this-tag%22-error-for-tag-35-tp22658655p22658655.html > Sent from the QuickFIX - User mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > |