简体   繁体   English

Quickfix数据字典问题-重复组错误

[英]Quickfix data dictionary problem - repeating group error

I am using Quickfix to connect to CTS and I'm having the same exact problem as @Wapiti experienced in this thread . 我正在使用Quickfix连接到CTS,并且遇到了与@Wapiti在该线程中遇到的相同的确切问题。

Whenever I turn on the DataDictionary and direct to the location of my DataDictionary file, I am unable to Logon to CTS. 每当我打开DataDictionary并直接指向我的DataDictionary文件的位置时,我都无法登录到CTS。

Whenever I turn off the DataDictionary, I succeed logging onto CTS but I get the same error that @Wapiti posted: 每当我关闭DataDictionary时,我都会成功登录CTS,但会收到与@Wapiti发布的错误相同的错误:

Event log: Message 3 Rejected: Tag appears more than once:269 事件日志:消息3被拒绝:标记出现了多次:269

Message log: 20190307-19:38:54.000000000 : 8=FIX.4.29=10435=334=549=XXXX52=20190307-19:38:54.00056=CTS45=558=Tag appears more than once371=269372=W10=005 消息日志:20190307-19:38:54.000000000:8 = FIX.4.29 = 10435 = 334 = 549 = XXXX52 = 20190307-19:38:54.00056 = CTS45 = 558 =标签多次出现371 = 269372 = W10 = 005

Tag 269 is MDEntryType and it should be a repeating group. 标签269是MDEntryType,它应该是重复组。 I realize my problem probably has to do with the configuration of my data dictionary. 我意识到我的问题可能与数据字典的配置有关。 I tried switching from 'DataDictionary=...' to 'AppDataDictionary=...' as Steve recommended in the thread linked to above but that didn't resolve the problem. 我尝试按照史蒂夫在上面链接的线程中的建议从'DataDictionary = ...'切换到'AppDataDictionary = ...',但这不能解决问题。

Any ideas? 有任何想法吗?

You will need to provide what exactly you have within your Data Dictionary, so it is easier to see where you are going wrong. 您将需要提供您在数据字典中的确切内容,因此更容易发现问题出在哪里。

By using the information that you have given, I presume your Data Dictionary looks like this? 通过使用您提供的信息,我想您的数据字典看起来像这样吗?

<group name="NoMDEntryTypes" required="N">      
    </group>

However the MDEntryType should be within a repeating group called NoMDEntryTypes like below. 但是,MDEntryType应该位于称为NoMDEntryTypes的重复组中,如下所示。

 <group name="NoMDEntryTypes" required="N">
            <field name="MDEntryType" required="N"/>
    </group>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM