Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When there are duplicate tags in the message I received, there is only one element in the slice of Message.Body.FieldMap.tagLookup[tag] #569

Open
mrwh1t4 opened this issue Jun 27, 2023 · 1 comment

Comments

@mrwh1t4
Copy link

mrwh1t4 commented Jun 27, 2023

The message is just like below:

9=000540
35=UP
34=000004
43=N
52=20230627-13:51:13.116
49=xx
56=xxxx
6529=req_id
8054=2
6068=AGI
6288=0
8001=PositionList
8002=AGI/USD
6068=PDD
6288=0
8001=PositionList
8002=PDD/USD
10=xxx

Tag 6068 appeared twice in this message, but when I print Message.Body.FieldMap.tagLookup[6068],there is only one element in the slice just like below.

[
    {    
        /*tag*/             6068 
        /*value PDD */      [80 68 68 ] 
        /*bytes*/           [54 48 54 56 61 80 68 68 1]
    }
]

Is this a problem or is it designed this way?

@alexppxela
Copy link
Contributor

It seems the field is in a repeating group.
Quickfixgo implementation only supports repeating groups using fix dictionaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants