将修复消息转换为单独的属性
我收到了一条修复消息,我需要提取单个属性。当前是否有任何带有附加修复功能的 Java jar 或 lib。目前正在查看 QuickFIX/J 然而,这似乎更侧重于发送和接收 FIX 消息。有没有人有将 FIX 消息翻译为其各种对象的经验。
I have a fix msg coming in which I need to extract the invdividual attributes. Is there any Java jars or libs currently out there with added fix functionality. Currently looking over QuickFIX/J This however seems to be more focused on send and receiving the FIX msgs. Has anyone any experience in work with translating a FIX msg to it's various objects.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
每个消息类都有一组函数来提取消息和标准中的字段。示例类 MassQuote。
有一些命名的 get 方法可以返回字段。否则,您可以使用通用 getField 返回字段属性。对于组,首先获取组的数量,然后迭代消息并使用 getGroup 方法提取所有组。
Every message class has a set of functions to extract the fields in the message and standard. An example class MassQuote.
There are named get methods which return you the field. Else you can use the generic getField to return you the field attribute. In case of groups, first get the number of groups and then iterate over the message and use the getGroup method, to extract all groups.
MessageUtils 有
getStringField
和看起来很有用的parse
方法MessageUtils have
getStringField
andparse
methods which look useful