添加新消息类型时此标记的值不正确(超出范围)

Value is incorrect (out of range) for this tag when adding new message type

我添加了一个新的消息类型,就像这里的指南中描述的那样。 http://quickfixn.org/tutorial/custom-fields-groups-and-messages.html 但是当我将它发送给我的接受者时出现错误

这是我从接受者那里得到的错误:

Value is incorrect (out of range) for this tag

我已经尝试更改 msgType 的枚举以使其更加独特。 还, 更改配置以使用不同版本的 FIX 协议 BeginString=FIXT.1.1 FIX.4.4

经过大量搜索,我找到了解决方案。

确保您执行了以下操作:

  1. 将新消息类型添加到您的自定义数据字典
  2. 在配置中使用了数据字典 AppDataDictionary=./glossary/FIX50SP2_CUSTOM.xml

  3. 更新了 transportDataDictionary - 添加您的自定义消息