[Quickfix-users] Violate FIX protocol
Brought to you by:
orenmnero
From: J. M. <jul...@pr...> - 2008-06-22 08:32:55
|
One of my fix server has redifine the FIX44 protocol so naturaly mi quickfix application break down. The change is about a field type. The FIXML44 specification says: <field number="828" name="TrdType" type="INT"> <value enum="0" description="REGULAR_TRADE" /> <value enum="1" description="BLOCK_TRADE" /> <value enum="2" description="EFP" /> <value enum="3" description="TRANSFER" /> <value enum="4" description="LATE_TRADE" /> <value enum="5" description="T_TRADE" /> <value enum="6" description="WEIGHTED_AVERAGE_PRICE_TRADE" /> <value enum="7" description="BUNCHED_TRADE" /> <value enum="8" description="LATE_BUNCHED_TRADE" /> <value enum="9" description="PRIOR_REFERENCE_PRICE_TRADE" /> </field> And the server send messages with tag 828=T so QuickFix automaticaly response: 58=Incorrect data format for valueSOH371=828 How can I allow this values? I tried to change the FIXNL44 Dictionary as: <field number="828" name="TrdType" type="CHAR"></field> But it didn't work. It trows an InvalidFieldTypeException or samothing like that. How can I solve this????????? |