Re: [Quickfix-developers] MiscFeeType (139)
Brought to you by:
orenmnero
From: Grant B. <gbi...@co...> - 2009-02-17 23:49:47
|
In C++, a char can be treated like an int. Values 10, 11, and 12 can be assigned to a char without a problem. If you have C++ code such as "char x = 8;", then x will not be storing the character "8", but the unsigned integer value 8, which is intended to be interpreted as the ASCII character with code 8 (see http://www.asciitable.com/). In the FIX spec, value 139 is specified as a char. Note: A char and an int are not exactly the same. On many (most?) implementations, a char is 8 bits wide, and thus can only range from 0-255. On Tue, Feb 17, 2009 at 3:05 PM, Malinka Rellikwodahs <ael...@gm...> wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > It appears there is some confusion regarding MiscFeeType (tag 139). > According to http://b2bits.com/fixopaedia/fixdic44/index.html it is a > Int field. According to > http://www.transacttools.net/ttportal/datadict/browser.jsp it is a > Char field. If it is supposed to be a char it has the impossible > values of 10 : Per transaction, 11 : Conversion, 12 : Agent. > > QuickFix treats it as a Char however it does not have 10, 11 and 12 > available, has this been a change to the FIX spec? What would be the > best solution? treate it as an IntField or treate it as a StringField? > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |