<div dir="ltr"><div class="gmail_default" style="font-size:small;color:#000000">According to FIXimate, booleans are indeed only "Y" or "N". Your counterparty has made a mistake (though an understandable one).</div>
<div class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">Changing it to a string in your definition file is a good workaround.</div><div class="gmail_default" style="font-size:small;color:#000000">
<br></div><div class="gmail_default" style="font-size:small;color:#000000">I don't know if the other QFs accept values other than Y/N.</div><div class="gmail_default" style="font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-size:small;color:#000000">
It would not be difficult to adapt QF/n to accept 0/1. I don't know if that's a good idea, but I don't think it's a bad idea.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 6, 2014 at 12:09 PM, Manuel Lopez <span dir="ltr"><<a href="mailto:lopez.post@gmail.com" target="_blank">lopez.post@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">I'm getting a puzzling error in my logs:</div><div class="gmail_extra"><a href="tel:20140206-16" value="+12014020616" target="_blank">20140206-16</a>:43:09.435 : Could not convert field: Cannot convert string to boolean<br>
<a href="tel:20140206-16" value="+12014020616" target="_blank">20140206-16</a>:43:09.435 : Message 824 Rejected: Incorrect data format for value (Field=6082)<br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">The puzzle is that field 6082 in my message log is a Boolean value (6082=1). It seems that strictly speaking FIX defines only 'Y' or 'N' as Boolean? </div>
<div class="gmail_extra"><br></div><div class="gmail_extra">If this is correct, I'll speak to my counterparty; but is there an argument for a looser definition of Boolean as 1 or 0 and not just Y or N? </div><div class="gmail_extra">
<br></div><div class="gmail_extra">I'll define that field as string in my definition file.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I'm not sure that quickfix has ever rejected 0 for Boolean.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>
<br>_______________________________________________<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" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font><span style="background-color:#000000"><span style="background-color:#ffffff">Grant Birchmeier</span></span></font><font><font color="#3333ff"><br>
</font></font></div><div><font><b><font color="#3333ff"><span style="background-color:#ffcc33"><span style="background-color:#ffcc66"><span style="background-color:#ffcc99"><span style="background-color:#ffffff"><span style="background-color:#ffcc00">Connamara Systems, LLC</span></span></span></span></span></font></b></font><br>
</div><div><font><b>Made-To-Measure Trading Solutions.</b></font></div><div><font>Exactly what you need. No more. No less.</font><font><b><font color="#3333ff"><br></font></b></font></div><div><font><a href="http://connamara.com" target="_blank">http://connamara.com</a><br>
</font></div>
</div>