Quickfix - Tag not defined for this message type

我们两清 提交于 2019-12-10 05:58:07

问题


I'm getting an exec report from my counter party, and my quickfix engine is rejecting it for "Tag not defined for this message type 371=1300"

It seems to be saying that the exec report has a non-standard tag (1300), and my quickfix engine doesn't like it.

However, I have added that tag into my dictionary XML file, as follows

  <field number="1300" name="MarketSegmentID" type="String" added="FIX.5.0" addedEP="52" abbrName="MktSegID" textId="FIELD_1300">
    <enum value="BETP" symbolicName="BETP" textId="ENUM_1300_BETP"/>
    <enum value="BGL" symbolicName="BGL" textId="ENUM_1300_BGL"/>
    <enum value="BMTF" symbolicName="BMTF" textId="ENUM_1300_BMTF"/>
    <enum value="BSEF" symbolicName="BSEF" textId="ENUM_1300_BSEF"/>
  </field>

So it should know about tag 1300. My counter party sends "1300=BSEF", so it's one of the valid choices.

What exactly does "tag not defined for this message type" mean? What should I try?


回答1:


There are two main sections to your XML file: (1) The message definitions, and (2) the tag definitions.

You added the tag definition, but you didn't edit the ExecutionReport message definition to include that new tag.



来源:https://stackoverflow.com/questions/38600735/quickfix-tag-not-defined-for-this-message-type

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!