{{Quickfixn}} Message values

Lanfranco Morini Lanfranco.Morini at cegeka.it
Wed Feb 24 05:27:52 PST 2021


Hi Alan,
did you already try with
m.GetString(Tags.OrdStatus) ?

Best,
Lan

Lanfranco Giuseppe Morini
APPLICATIONS

E  Lanfranco.Morini at cegeka.it<mailto:Lanfranco.Morini at cegeka.it>
T +39 02 254427 1
M +39 347 7282717


From: Quickfixn <quickfixn-bounces at lists.quickfixn.com> On Behalf Of alancloughley at hotmail.com
Sent: mercoledì 24 febbraio 2021 13:46
To: 'Mailing list for QuickFIX/n' <quickfixn at lists.quickfixn.com>
Subject: {{Quickfixn}} Message values

Hi all,

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.

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; m.Get(new OrdStatus()).getValue().ToString(); 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.

Thanks for any help here.

A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20210224/d413d9e4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 8099 bytes
Desc: image001.jpg
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20210224/d413d9e4/attachment-0002.jpg>


More information about the Quickfixn mailing list