<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=iso-8859-1"><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;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
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="#0563C1" vlink="#954F72"><div class="WordSection1"><p class="MsoNormal">Thanks Lan, yes I have tried that (tested again just now) and it still returns the CHAR number. So I’m just getting “2” when the order has been filled.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I wonder whether the default return value (char or description) is set somewhere within the data dictionary? I am using a merged data dictionary to include the brokers data and trade definitions in one xml doc, I just did it manually and was pretty careful to make sure there were no duplicates etc.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></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" style="mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-GB"> Quickfixn <quickfixn-bounces@lists.quickfixn.com> <b>On Behalf Of </b>Lanfranco Morini<br><b>Sent:</b> 24 February 2021 13:28<br><b>To:</b> Mailing list for QuickFIX/n <quickfixn@lists.quickfixn.com><br><b>Subject:</b> Re: {{Quickfixn}} Message values<o:p></o:p></span></p></div></div><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><span lang="EN-US">Hi Alan,</span><span lang="IT"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">did you already try with </span><span lang="IT"><o:p></o:p></span></p><p class="MsoNormal"><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"><span lang="EN-US"> </span><span lang="IT"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">Best,</span><span lang="IT"><o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">Lan</span><span lang="IT"><o:p></o:p></span></p><p class="MsoNormal"><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"><b><span style="color:#2C3034;mso-fareast-language:NL-BE">Lanfranco Giuseppe Morini</span></b><span style="color:#2C3034;mso-fareast-language:NL-BE"> </span><span style="color:black;mso-fareast-language:NL-BE"><br></span><b><span style="color:#9BB0B7;mso-fareast-language:NL-BE">APPLICATIONS </span></b><span style="color:#9BB0B7;mso-fareast-language:NL-BE"> </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"><span style="color:black;mso-fareast-language:IT"><img width="24" height="1" style="width:.25in;height:.0069in" id="Picture_x0020_1" src="cid:image001.jpg@01D70AB2.8E4D5C50"></span><span style="color:black;mso-fareast-language:NL-BE"> </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"><b><span style="color:#2C3034;mso-fareast-language:NL-BE">E</span></b><span style="color:#2C3034;mso-fareast-language:NL-BE"> </span><b><span style="color:#0098C3;mso-fareast-language:NL-BE"><a href="mailto:Lanfranco.Morini@cegeka.it">Lanfranco.Morini@cegeka.it</a></span></b><span style="color:black;mso-fareast-language:NL-BE"><br></span><b><span style="color:#2C3034;mso-fareast-language:NL-BE">T </span></b><span style="color:#2C3034;mso-fareast-language:NL-BE">+39 02 254427 1</span><span style="color:#4D555B;mso-fareast-language:NL-BE"> </span><span style="color:black;mso-fareast-language:NL-BE"><br></span><b><span style="color:#2C3034;mso-fareast-language:NL-BE">M</span></b><span style="color:#2C3034;mso-fareast-language:NL-BE"> +39 347 7282717</span><o:p></o:p></p></td></tr></table><p class="MsoNormal"><span lang="IT" style="mso-fareast-language:IT"> </span><span lang="IT"><o:p></o:p></span></p></div><p class="MsoNormal"><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"><b><span lang="EN-US" style="mso-fareast-language:IT">From:</span></b><span lang="EN-US" style="mso-fareast-language:IT"> Quickfixn <<a href="mailto:quickfixn-bounces@lists.quickfixn.com">quickfixn-bounces@lists.quickfixn.com</a>> <b>On Behalf Of </b><a href="mailto:alancloughley@hotmail.com">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">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"><span lang="IT"> <o:p></o:p></span></p><p class="MsoNormal">Hi all,<span lang="IT"><o:p></o:p></span></p><p class="MsoNormal"> <span lang="IT"><o:p></o:p></span></p><p class="MsoNormal">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"> <span lang="IT"><o:p></o:p></span></p><p class="MsoNormal">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"> <span lang="IT"><o:p></o:p></span></p><p class="MsoNormal">Thanks for any help here.<span lang="IT"><o:p></o:p></span></p><p class="MsoNormal"> <span lang="IT"><o:p></o:p></span></p><p class="MsoNormal">A <span lang="IT"><o:p></o:p></span></p></div></body></html>