-
Notifications
You must be signed in to change notification settings - Fork 40
Description
I think the developer of node_quickfix did not notice that the order of Tags in group is important.
In FIX protocol, If the order of Tags in group is wrong, the request will be rejected and get the response
"Out of order repeating group members"
As my example,
groups: [{
'index': 146,
'delim': 55,
'entries': [{
'55': 'BITCOIN',
'48': 'BITCOIN.C',
'22': 111
}]The correct send order is 55 48 22 (FIX Protocol need this order)
But node_quickfix send them in this order 55 22 48.
Why 55 comes before 22 ? Because delim=55, and If I set delim=48 node_quickfix will send them in this order48 22 55
How quickfix_ruby resolve this problem?
In Quickfix_ruby https://github.com/quickfix/quickfix/blob/master/src/ruby/quickfix44.rb#L571
They set the order of group Tags in initializer
Sorry , I’m not familiar with these source code below, But I think the developer can fix this problem here.
https://github.com/electronifie/node-quickfix/blob/master/src/FixMessageUtil.h#L93
