简体   繁体   English

quickfixj市场数据无法获取组字段

[英]quickfixj Market Data can't get group field

"8=FIX.4.29=11435=W49=TEST56=MYTEST234=552=20180614-21:36:4955=HKGUSD268=2269=0270=1.0271=20269=1270=0.0271=0262=010=179" My scala processes this with "58=Conditionally Required Field Missing372=X" “ 8 = FIX.4.29 = 11435 = W49 = TEST56 = MYTEST234 = 552 = 20180614-21:36:4955 = HKGUSD268 = 2269 = 0270 = 1.0271 = 20269 = 1270 = 0.0271 = 0262 = 010 = 179”我的scala对此进行了处理“ 58 =有条件的必填字段Missing372 = X”

Here is the code snapit: 这是代码快照:

msg: MarketDataIncrementalRefresh
val group = new MarketDataIncrementalRefresh.NoMDEntries()
msg.getGroup(1, group) // this is already throwing out that error

I pasted the fix message to the online parser and seems ok to get all the field back. 我将修复消息粘贴到了在线解析器,并且似乎可以将所有字段恢复为正常。 My cfg file has UseDataDictionary=N would this matter? 我的cfg文件具有UseDataDictionary = N,这有关系吗?

This is fixed by adding the data dictionary and xml files to the configuration. 通过将数据字典和xml文件添加到配置中可以解决此问题。 And it seems that this is only required when parsing repeating groups. 而且似乎只有在解析重复组时才需要这样做。

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

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