简体   繁体   English

使用Quickfix市场数据增量刷新时,标签出现了多次

[英]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.

相关问题 如何使用多个数据源填充GridView? - How to Fill GridView using more than one DataSource? 在长时间存储后的过程中,如何从代码隐藏中刷新网格 - How to refresh a grid while a storedproc is running for long time from codebehind 使用正则表达式的锚标记名称searchinh - Anchor tag name searchinh using regular expression 更重要的是琐事:为什么在Activator.CreateInstance上没有新的()约束 <T> ()? - More trivia than really important: Why no new() constraint on Activator.CreateInstance<T>()? 配置控制台应用以从wcf接收超过65536 - configure console app to receive more than 65536 from wcf 当我们尝试使用C#2.0从Tridion 2009代理LINK_INFO表中获取一些数据时,服务器性能下降 - Server Performance going down while we trying to get some data from Tridion 2009 broker LINK_INFO table using C# 2.0 如何将多个Crystal Report放入一个Crystal Report查看器中? - How can i put more than one Crystal Report into one Crystal Report viewer ? 使用C#HttpRequest发布JSON数据 - Posting json data using c# Httprequest 消息过滤器表明应用程序正忙,同时一次使用多个Web浏览器控件 - The message filter indicated that the application is busy, while using multiple webbrowsers controls at a time 刷新Windows CE-任务栏 - Refresh Windows CE - Taskbar
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM