简体   繁体   English

QuickFix / n更改数据字典

[英]QuickFix/n changing the datadictionary

I am trying to add some fields to the DataDictionary as per the documentation but cant find the DataDictionary.xml file. 我正在尝试根据文档向DataDictionary添加一些字段,但是找不到DataDictionary.xml文件。 does nayone know where it can be found nayone知道在哪里可以找到它吗

It should reside in your project Folder under packages\\QuickFix.Net.1.8.0\\spec\\ (assuming you have installed QuickFix/N via Nuget). 它应该位于您的项目Folder packages\\QuickFix.Net.1.8.0\\spec\\ (假设您已经通过Nuget安装了QuickFix / N)。 Or otherwise have a search for FIX*.XML 否则搜索FIX*.XML

If you are using the original version of QuickFix/n from Connamara, then all data dictionary XML files are available in: quickfixn/spec/fix/ named FIX<version>.xml , as correctly written in earlier replies. 如果您使用的是来自Connamara的QuickFix / n的原始版本,则所有数据字典XML文件都位于: quickfixn / spec / fix /名为FIX<version>.xml ,如早先的答复中所述。

Also notice, that you need to explicitly specify dictionary file location when creating Acceptor or Initiator: SessionSettings settings = new SessionSettings(<XML file>); 还要注意,在创建Acceptor或Initiator时,您需要显式指定字典文件的位置: SessionSettings settings = new SessionSettings(<XML file>);

so in your project you may copy the XML file (for the version you are using) wherever you need, edit it and specify its location in the above code line. 因此,在您的项目中,您可以根据需要复制XML文件(针对您使用的版本),然后在上面的代码行中对其进行编辑并指定其位置。

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

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