Skip to content

Repeating group fields out of order #34

Open
@aozeahj

Description

@aozeahj

Describe the bug

"Repeating group fields out of order (group 268: template is wrong or delimiter 269 not found: expected 2 groups, but found 1)"

To Reproduce
First, I send a fix message with msgType = V to subscribe to the exchange rate data in both bid and offer directions

Then I successfully received the msgType = W message returned by the bank, and the message has data in both bid and offer directions, and the message is correct

However, when the program runs to "marketdatasnapshotfullrefresh.FromMessage(message)" and parses out the message data of msgType = W, and then calls "marketDataMsg.GetNoMDEntries() ", an error occurs, and the error message is as shown above.

Expected behavior
Logically, there should be no error, and the exchange rate data in both bid and offer directions can be successfully obtained.

system information:

  • OS: Mac
  • Go version: Go 1.16.5
  • QF/Go Version v0.6.0

Additional context
I read the ParseMessage() method of the message. In this method, the message data is directly parsed into the Body field, and the Body is a map data structure. It does not support repeating groups. Is it caused by this?

Metadata

Metadata

Assignees

Labels

BugBehavior not matching expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions