<div dir="ltr">I know this isn't necessarily going to sway your counterparty, but I want to make sure this is clear: The FIX standard mandates that the first field of the repeating group (ClOrdID in your case) is required so that it can be used as a delimiter indicating that a new group is starting. There's no short-term hack that will get you around that, aside from digging into the QF/n internals. Some versions of the standard have more or less to say about the order of <i>other fields</i> in the group, but the <i>first field</i> is always required.<div><div><br></div><div>There is one special case that you can make work, however, and users have done this in the past. If you know that the counterparty is only ever going to send you at most one group, i.e. NoTrades=0 or NoTrades=1, you can simply change your DataDictionary to treat NoTrades and the group fields as regular message fields. </div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">--</font></div><font face="arial, helvetica, sans-serif">Mike Gatny<br>Connamara Systems, LLC</font></div></div></div>
<br><div class="gmail_quote">On Thu, Feb 23, 2017 at 8:42 AM, Sahil Neb <span dir="ltr"><<a href="mailto:Sahil.Neb@mbcl.com" target="_blank">Sahil.Neb@mbcl.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple">
<div class="m_1836769558383813850WordSection1">
<p class="MsoNormal"><span style="color:#1f497d">Hi Masthan,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Thanks for your response.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">We have already spoken to the sender. They acknowledge this deviation from standard FIX44 protocol, but they cannot change their FIX spec.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Hence we have to address this issue at our end.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Sahil Neb<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Quickfixn [mailto:<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@<wbr>lists.quickfixn.com</a>]
<b>On Behalf Of </b>Rao, Masthan<br>
<b>Sent:</b> 23 February 2017 13:21<br>
<b>To:</b> Mailing list for QuickFIX/n<br>
<b>Subject:</b> Re: {{Quickfixn}} Help. Error reading a group<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif"">FIX44 specification says that the order of the fields in the repeating should be the same and that’s the reason why you are receiving this error. FIX50 doesn’t
have this limitation. Please check with the sender at least if he can send out a blank value for “CLOrdID” as first element when there is nothing to send.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif"">Masthan<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Quickfixn [<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">mailto:quickfixn-bounces@<wbr>lists.quickfixn.com</a>]
<b>On Behalf Of </b>Sahil Neb<br>
<b>Sent:</b> Thursday, February 23, 2017 8:11 AM<br>
<b>To:</b> <a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn@lists.quickfixn.com</a><br>
<b>Subject:</b> {{Quickfixn}} Help. Error reading a group<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We use QuickFIXn with FIX44 and have a problem in reading a group with a non-required field as the first element.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We get the error message:-<u></u><u></u></p>
<p class="MsoNormal"><span style="color:red">Group 897's first entry does not start with delimiter 11</span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">In the data dictionary the group is specified as :-<u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white"><</span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">group</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">name</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">NoTrades</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">required</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">Y</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">field</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">name</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">ClOrdID</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">required</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">N</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">
/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">field</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">name</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">OrigClOrdID</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">required</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">N</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">
/></span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white"> <</span><span style="font-size:9.5pt;font-family:Consolas;color:#a31515;background:white">field</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">name</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">OrderID</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">
</span><span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">required</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">Y</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">
/></span><span style="font-size:9.5pt;font-family:Consolas;color:blue"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:blue"><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">In some messages, we receive <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">
"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">ClOrdID</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span> as the first element of the
group which we read without error,<u></u><u></u></p>
<p class="MsoNormal">and in other cases we get <span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">
"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">OrigClOrdID</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span> as first element which
fails.<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal">We have discussed with the sender and they can’t change their specifications.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Is there any way we can address this issue?<u></u><u></u></p>
<p class="MsoNormal">Perhaps by not relying on the <span style="font-size:9.5pt;font-family:Consolas;color:red;background:white">
required</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">=</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;background:white">N</span><span style="font-size:9.5pt;font-family:Consolas;color:black;background:white">"</span>
elements as the delimiter of the group?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any pointers or suggestions will be very helpful.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks in advance.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal">Sahil Neb<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:#7f7f7f">******************************<wbr>******************************<wbr>******************************<wbr>********<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:#7f7f7f">This footnote also confirms that this email message has been swept for the presence of computer viruses.
<a href="http://www.mbcl.com/legal-notices.html" target="_blank"><span style="color:#7f7f7f;text-decoration:none">Legal Notices</span></a>.<u></u><u></u></span></p>
<p><span lang="EN-US">..............................<wbr>..............................<wbr>................<u></u><u></u></span></p>
<p><span lang="EN-US">For further important information about AllianceBernstein please click here<br>
<a href="http://www.abglobal.com/disclaimer/email/disclaimer.html" target="_blank">http://www.abglobal.com/<wbr>disclaimer/email/disclaimer.<wbr>html</a><u></u><u></u></span></p>
</div></div></div><div><div class="h5">
<br><font size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt" class="MsoNormal"><span style="color:#7f7f7f;font-family:"Verdana","sans-serif";font-size:8pt">******************************<wbr>******************************<wbr>******************************<wbr>********<u></u><u></u><u></u></span></p><font size="3" face="Times New Roman">
</font><p style="margin:0cm 0cm 0pt" class="MsoNormal"><span style="color:#7f7f7f;font-family:"Verdana","sans-serif";font-size:8pt">This footnote also confirms that this email message has been
swept for the presence of computer viruses. <a href="http://www.mbcl.com/legal-notices.html" target="_blank"><span style="color:#7f7f7f;text-decoration:none">Legal Notices</span></a>.<u></u><u></u></span></p><font size="3" face="Times New Roman">
</font></div></div></div>
<br>______________________________<wbr>_________________<br>
Quickfixn mailing list<br>
<a href="mailto:Quickfixn@lists.quickfixn.com">Quickfixn@lists.quickfixn.com</a><br>
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" target="_blank">http://lists.quickfixn.com/<wbr>listinfo.cgi/quickfixn-<wbr>quickfixn.com</a><br>
<br></blockquote></div><br></div>