{{Quickfixn}} Quote <S> Tag appears more than once

Kevin Carlton kcarlton at k2.ca
Wed Aug 7 06:29:54 PDT 2019


Russel,

You have set up the NoAccruedInterestAmt (9876)  group, with one field AccruedInterestAmt (159). But in the FIX message you provided there is no tag 9876. For the “group” to be parsed correctly, there needs to be one 9876 tag for each 159.

It would like:
9876=1
159=29.99
9786=2
159=29.66

The first 159 field belongs to the 9876=1 group, and the second to the second group.
In code you can then specify which 9876 group you want, by the number.

From: Quickfixn <quickfixn-bounces at lists.quickfixn.com> On Behalf Of Russell Watson
Sent: Wednesday, August 7, 2019 7:45 AM
To: quickfixn at lists.quickfixn.com
Subject: {{Quickfixn}} Quote <S> Tag appears more than once

Hello,

After many days of research and re-reading (http://quickfixn.org/tutorial/custom-fields-groups-and-messages.html) many times and trial and error regrettably I have been unable to solve the error of Tag appears more than once in Quote <S> message

The messages I am receiving

<incoming> 8=FIX.4.2 9=355 35=S 49=xxx 115=xxxx 56=xxxxxx 34=2 52=20190807-10:10:45 43=N 131=OR00999999x001 117=OU1JZXLH8B0000B4 55=TR30 48=GB00B24FF097 22=4 167=CS 207=L 6158=xxxx 537=1 132=136.68 134=250000 188=0.00 159=29.99 133=138.18 135=250000 159=29.66 190=0.00 157=62 60=20190807-10:10:45.457 62=20190807-10:11:15 63=6 64=20190808 15=GBP 120=GBP 9007=1 10=116

<event> Message 2 Rejected: Tag appears more than once (Field=159)

I have adapted the DataDictionary countless times with no success e.g.

<messages>
  ...
<message name='Quote' msgtype='S' msgcat='app'>
<!-- ... other fields ... -->
<group name="NoAccruedInterestAmt" required="N">
      <field name="AccruedInterestAmt" required="N"/>
</group>
<!-- ... other fields ... -->
</message>
  ...
</messages>
...
<fields>
  ...
<field number='9876' name='NoAccruedInterestAmt' type='NUMINGROUP'/>
<field number='159' name='AccruedInterestAmt' type='AMT' />
</fields>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20190807/0f29dc3e/attachment.htm>


More information about the Quickfixn mailing list