[英]Tag appears more than once while using Quickfix market data incremental refresh
I have implemented the fix client that request for market data. 我已经实现了请求市场数据的修订客户端。 I have successfully logged on to the server but when the server sends us a MarketDataIncrementalRefresh message my application rejects with the message "Tag appears more than once" tag for which it is indicating is 55. Can you please help me in resolving it?
我已经成功登录到服务器,但是当服务器向我们发送MarketDataIncrementalRefresh消息时,我的应用程序拒绝并显示消息“标记多次出现”标记,指示该标记为55。请您能帮我解决这个问题吗? The message it rejects is: 8=FIX.4.2 9=196 35=X 34=14 49=Xenfin 56=newchange.api -price 52=20140528-08:54:32.144 262=156 268=2 279=1 269=0 278=B 55=EUR/USD 270=1.36201 271=1000000.00 279=1 269=1 278=A 55=EUR/USD 270=1.36205 271=1000000.00 10=133
它拒绝的消息是:8 = FIX.4.2 9 = 196 35 = X 34 = 14 49 = Xenfin 56 = newchange.api-价格52 = 20140528-08:54:32.144 262 = 156 268 = 2 279 = 1 269 = 0 278 = B 55 = EUR / USD 270 = 1.36201 271 = 1000000.00 279 = 1 269 = 1 278 = A 55 = EUR / USD 270 = 1.36205 271 = 1000000.00 10 = 133
and in my config file I have used no data dictionary and set UseDataDictionary=N 在我的配置文件中,我没有使用数据字典,而是将UseDataDictionary = N设置为
This usually means you have a configuration or DataDictionary problem, or both. 这通常意味着您遇到配置问题或DataDictionary问题,或两者同时存在。
Configuration problem: Your config should have UseDataDictionary=Y
, and DataDictionary=path/to/xml
(or AppDataDictionary=
and TransportDataDictionary=
if you're on FIX5). 配置问题:您的配置应该具有
UseDataDictionary=Y
,和DataDictionary=path/to/xml
(如果使用FIX5,则为AppDataDictionary=
和TransportDataDictionary=
)。
DataDictionary problem: Your counterparty has probably added custom fields to the message, and your DD hasn't been properly updated to reflect them. DataDictionary问题:您的交易对手可能已在邮件中添加了自定义字段,并且您的DD尚未正确更新以反映它们。 When parsing repeating groups, when the QF/n parser finds a field that doesn't belong (per DD) to the group, it assumes the group has ended.
解析重复的组时,当QF / n解析器发现一个不属于该组(按DD)的字段时,即假定该组已结束。 Any fields after that are considered to be outside the group.
此后的所有字段都被视为不在组中。
You need to edit your DD file to reflect any changes that your counterparty has made to the standard message set. 您需要编辑DD文件,以反映对方对标准消息集所做的任何更改。 This will probably include adding custom fields, and may include rearranging field orderings or adding fields to groups that they don't normally belong in. See this page for more info about editing your DD:
这可能包括添加自定义字段,还可能包括重新排列字段顺序或将字段添加到它们通常不属于的组中。有关编辑DD的更多信息,请参见此页面:
http://quickfixn.org/tutorial/custom-fields-groups-and-messages http://quickfixn.org/tutorial/custom-fields-groups-and-messages
That's because you have a repeating group, once for bid, once for offer 那是因为您有一个重复的小组,一次要出价,一次要价
8=FIX.4.2
9=196
35=X
34=14
49=Xenfin
56=newchange.api -price
52=20140528-08:54:32.144
262=156
268=2
279=1 269=0 278=B 55=EUR/USD 270=1.36201 271=1000000.00
279=1 269=1 278=A 55=EUR/USD 270=1.36205 271=1000000.00
10=133
and you're not handling it properly. 并且您没有正确处理它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.