<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang="EN-GB" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal"><span style="mso-fareast-language:EN-US">When looking at the FixValues.cs code it should be pulling the description form the xml as a string, so when you call string it is should return the description string.<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US">https://github.com/connamara/quickfixn/blob/master/QuickFIXn/FixValues.cs<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US">Does anyone know in what circumstances the string description can not be called?<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></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"> alancloughley@hotmail.com <alancloughley@hotmail.com> <br><b>Sent:</b> 24 February 2021 19:06<br><b>To:</b> 'Mailing list for QuickFIX/n' <quickfixn@lists.quickfixn.com><br><b>Subject:</b> RE: {{Quickfixn}} Quickfixn Digest, Vol 112, Issue 9<o:p></o:p></span></p></div></div><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US">Thanks Francis,<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US">That’s odd because my previous build to a different broker I was able to output the strings using;</span><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-US"> <o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-US"> <o:p></o:p></span></p><p class="MsoNormal" style="text-indent:36.0pt"><span style="font-size:9.5pt;font-family:Consolas;color:blue;mso-fareast-language:EN-US">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-US"> myOrdStatus = m.Get(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;mso-fareast-language:EN-US">new</span><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-US"> OrdStatus()).getValue();<o:p></o:p></span></p><p class="MsoNormal" style="text-indent:36.0pt"><span style="font-size:9.5pt;font-family:Consolas;color:blue;mso-fareast-language:EN-US">var</span><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-US"> mySide = m.Get(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue;mso-fareast-language:EN-US">new</span><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-US"> Side()).getValue();<o:p></o:p></span></p><p class="MsoNormal" style="text-indent:36.0pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-US">…..<o:p></o:p></span></p><p class="MsoNormal" style="text-indent:36.0pt"><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-US">……</span><span style="mso-fareast-language:EN-US"><o:p></o:p></span></p><p class="MsoNormal" style="text-autospace:none"><span style="mso-fareast-language:EN-US"> </span><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-US">Console.WriteLine(</span><span style="font-size:9.5pt;font-family:Consolas;color:#A31515;mso-fareast-language:EN-US">"\nExecutionReport: {0} {1} {2}"</span><span style="font-size:9.5pt;font-family:Consolas;color:black;mso-fareast-language:EN-US">, m.GetType(),myOrdStatus, mySide);<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US">Any idea why I can get the strings from one build but not the other? I can’t see what is different to cause this apart from the xml data ditionary however these are very similar, the fields within the Execution message section are identical. I’m struggling to understand why one build works but the other doesn’t?<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US">Cheers<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US">A<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Quickfixn <<a href="mailto:quickfixn-bounces@lists.quickfixn.com">quickfixn-bounces@lists.quickfixn.com</a>> <b>On Behalf Of </b>Francis Gingras<br><b>Sent:</b> 24 February 2021 15:52<br><b>To:</b> Mailing list for QuickFIX/n <<a href="mailto:quickfixn@lists.quickfixn.com">quickfixn@lists.quickfixn.com</a>><br><b>Subject:</b> Re: {{Quickfixn}} Quickfixn Digest, Vol 112, Issue 9<o:p></o:p></span></p><p class="MsoNormal"><o:p> </o:p></p><div><p class="MsoNormal">Hi,<br><br>OrdStatus is a CHAR field. You'll need to write your own parser to convert the value to a string like 'filled'.<br><br>See <a href="https://www.onixs.biz/fix-dictionary/4.2/tagnum_39.html">https://www.onixs.biz/fix-dictionary/4.2/tagnum_39.html</a><o:p></o:p></p><div><div><div><div><div><p class="MsoNormal"><o:p> </o:p></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt">Francis</span><o:p></o:p></p></div><div><p class="MsoNormal"><o:p> </o:p></p></div></div></div></div></div></div><p class="MsoNormal"><o:p> </o:p></p><div><div><p class="MsoNormal">On Wed, Feb 24, 2021 at 8:28 AM <<a href="mailto:quickfixn-request@lists.quickfixn.com">quickfixn-request@lists.quickfixn.com</a>> wrote:<o:p></o:p></p></div><blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><p class="MsoNormal">Send Quickfixn mailing list submissions to<br> <a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn@lists.quickfixn.com</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<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>or, via email, send a message with subject or body 'help' to<br> <a href="mailto:quickfixn-request@lists.quickfixn.com" target="_blank">quickfixn-request@lists.quickfixn.com</a><br><br>You can reach the person managing the list at<br> <a href="mailto:quickfixn-owner@lists.quickfixn.com" target="_blank">quickfixn-owner@lists.quickfixn.com</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Quickfixn digest..."<br>Today's Topics:<br><br> 1. Message values (<a href="mailto:alancloughley@hotmail.com" target="_blank">alancloughley@hotmail.com</a>)<br> 2. Re: Message values (Lanfranco Morini)<br><br><br><br>---------- Forwarded message ----------<br>From: <<a href="mailto:alancloughley@hotmail.com" target="_blank">alancloughley@hotmail.com</a>><br>To: "'Mailing list for QuickFIX/n'" <<a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn@lists.quickfixn.com</a>><br>Cc: <br>Bcc: <br>Date: Wed, 24 Feb 2021 12:46:04 -0000<br>Subject: {{Quickfixn}} Message values<o:p></o:p></p><div><div><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi all,<o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Looking for a bit of advice on getting values from messages. I’ve looked online but can’t find a solution or info to help me better understand why it is not working as expected.<o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On my first initiator build I was able to get the field description from a received message and display that string. For example an Executionreport message m, I could do; <span style="font-size:9.5pt;font-family:Consolas;color:black">m.Get(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">new</span><span style="font-size:9.5pt;font-family:Consolas;color:black"> OrdStatus()).getValue().ToString();</span> and I would get the string as the field description e.g “FILLED”. On my current initiator build to a new broker the same method gives me the CHAR value of the field only, so instead of getting the string “FILLED” I just get “2”. I’ve tried various different combinations of Get, getVaue, GetString etc but I cannot get the description string, whatever I try the output is always “2”. Is there some specific code that I need to use to get the field description output? Like I said the previous broker connection worked, this time it does not which I find odd. Both data dictionaries for current and previous build have the exact same field chars and descriptions listed on the xml file.<o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks for any help here.<o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">A <o:p></o:p></p></div></div><p class="MsoNormal"><br><br><br>---------- Forwarded message ----------<br>From: Lanfranco Morini <<a href="mailto:Lanfranco.Morini@cegeka.it" target="_blank">Lanfranco.Morini@cegeka.it</a>><br>To: "Mailing list for QuickFIX/n" <<a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn@lists.quickfixn.com</a>><br>Cc: <br>Bcc: <br>Date: Wed, 24 Feb 2021 13:27:52 +0000<br>Subject: Re: {{Quickfixn}} Message values<o:p></o:p></p><div><div><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Hi Alan,</span><span lang="IT"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">did you already try with </span><span lang="IT"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-family:Consolas">m.GetString(Tags.OrdStatus)</span><span lang="EN-US"> ?</span><span lang="IT"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><span lang="IT"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Best,</span><span lang="IT"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Lan</span><span lang="IT"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><span lang="IT"><o:p></o:p></span></p><div><table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="429" style="width:321.6pt"><tr><td style="padding:0cm 0cm 0cm 0cm"><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="color:#2C3034">Lanfranco Giuseppe Morini</span></b><span style="color:#2C3034"> </span><span style="color:black"><br></span><b><span style="color:#9BB0B7">APPLICATIONS </span></b><span style="color:#9BB0B7"> </span><o:p></o:p></p></td></tr><tr><td style="padding:0cm 0cm 0cm 0cm"></td></tr><tr><td style="padding:0cm 0cm 0cm 0cm"><table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0"><tr style="height:.6pt"><td style="padding:0cm 0cm 0cm 0cm;height:.6pt"><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:black"><img border="0" width="24" height="1" style="width:.25in;height:.0069in" id="gmail-m_6795119788840373565Picture_x0020_1" src="cid:image001.jpg@01D70B75.4FEE85B0"> </span><o:p></o:p></p></td></tr></table></td></tr><tr style="height:9.0pt"><td style="padding:0cm 0cm 0cm 0cm;height:9.0pt"></td></tr><tr><td style="padding:0cm 0cm 0cm 0cm"><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="color:#2C3034">E</span></b><span style="color:#2C3034"> </span><b><span style="color:#0098C3"><a href="mailto:Lanfranco.Morini@cegeka.it" target="_blank">Lanfranco.Morini@cegeka.it</a></span></b><span style="color:black"><br></span><b><span style="color:#2C3034">T </span></b><span style="color:#2C3034">+39 02 254427 1</span><span style="color:#4D555B"> </span><span style="color:black"><br></span><b><span style="color:#2C3034">M</span></b><span style="color:#2C3034"> +39 347 7282717</span><o:p></o:p></p></td></tr></table><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="IT" style="color:white"> </span><span lang="IT"><o:p></o:p></span></p></div><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="IT"> <o:p></o:p></span></p><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Quickfixn <<a href="mailto:quickfixn-bounces@lists.quickfixn.com" target="_blank">quickfixn-bounces@lists.quickfixn.com</a>> <b>On Behalf Of </b><a href="mailto:alancloughley@hotmail.com" target="_blank">alancloughley@hotmail.com</a><br><b>Sent:</b> mercoledì 24 febbraio 2021 13:46<br><b>To:</b> 'Mailing list for QuickFIX/n' <<a href="mailto:quickfixn@lists.quickfixn.com" target="_blank">quickfixn@lists.quickfixn.com</a>><br><b>Subject:</b> {{Quickfixn}} Message values</span><span lang="IT"><o:p></o:p></span></p></div></div><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="IT"> <o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi all,<span lang="IT"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <span lang="IT"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Looking for a bit of advice on getting values from messages. I’ve looked online but can’t find a solution or info to help me better understand why it is not working as expected.<span lang="IT"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <span lang="IT"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On my first initiator build I was able to get the field description from a received message and display that string. For example an Executionreport message m, I could do; <span style="font-size:9.5pt;font-family:Consolas;color:black">m.Get(</span><span style="font-size:9.5pt;font-family:Consolas;color:blue">new</span><span style="font-size:9.5pt;font-family:Consolas;color:black"> OrdStatus()).getValue().ToString();</span> and I would get the string as the field description e.g “FILLED”. On my current initiator build to a new broker the same method gives me the CHAR value of the field only, so instead of getting the string “FILLED” I just get “2”. I’ve tried various different combinations of Get, getVaue, GetString etc but I cannot get the description string, whatever I try the output is always “2”. Is there some specific code that I need to use to get the field description output? Like I said the previous broker connection worked, this time it does not which I find odd. Both data dictionaries for current and previous build have the exact same field chars and descriptions listed on the xml file.<span lang="IT"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <span lang="IT"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks for any help here.<span lang="IT"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <span lang="IT"><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">A <span lang="IT"><o:p></o:p></span></p></div></div><p class="MsoNormal">_______________________________________________<br>Quickfixn mailing list<br><a href="mailto:Quickfixn@lists.quickfixn.com" target="_blank">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><o:p></o:p></p></blockquote></div></div></body></html>