Quickfixj不遵守重复组中的自定义字段 [英] Quickfixj not honoring custom fields in a repeating group

查看:231
本文介绍了Quickfixj不遵守重复组中的自定义字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用FIXT1.1和FIX应用程序版本5.0SP2.

I am using FIXT1.1 and FIX Application version 5.0SP2.

我向QuotSetAckGrp添加了一些自定义字段,这是MassQuoteAcknowledgement消息的一部分.但是,当quickfix读取重复组时,它不会读取自定义字段作为重复组的一部分.而是将自定义字段视为常规的父级字段,并抛出标签出现多次"会话级拒绝.

I added some custom fields to the QuotSetAckGrp, part of MassQuoteAcknowledgement message. However, when quickfix reads the repeating group, it does not read the custom fields as part of the repeating groups. Instead, it treats the custom fields are regular parent-level fields and throws a "Tag appears more than once" session level reject.

感谢所有投入,以帮助解决问题.

Appreciate any inputs to help resolve the issue.

推荐答案

您需要修改接收方的AppDataDictionary,以匹配发送方发送的消息. 此外,您需要在配置中设置UseDataDictionary=Y.

You need to modify the receiver's AppDataDictionary to match the messages that your sender is sending. Also, you need to set UseDataDictionary=Y in your config.

QF/j需要查看DD xml文件以了解重复组中的哪些字段,否则它无法知道每个组成员的结束位置.

QF/j needs to look at the DD xml file to know what fields are in a repeating group, else it cannot know where each group member ends.

当引擎遇到的字段不在DD的重复组定义中时,它会假定当前组成员以上一个标记结尾.

When the engine encounters a field that isn't inside the DD's repeating group definition, it assumes that the current group member ended with the previous tag.

以下是自定义DD的方法: http://quickfixn.org/tutorial/custom-fields-groups-and-messages

Here's a howto for customizing your DD: http://quickfixn.org/tutorial/custom-fields-groups-and-messages

(以上链接用于QF/n,但对于QF/j几乎相同.)

(The above link is for QF/n, but it's nearly the same for QF/j.)

这篇关于Quickfixj不遵守重复组中的自定义字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆