{{Quickfixn}} Message values
alancloughley at hotmail.com
alancloughley at hotmail.com
Wed Feb 24 05:40:04 PST 2021
Thanks Lan, yes I have tried that (tested again just now) and it still
returns the CHAR number. So Im just getting 2 when the order has been
filled.
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.
From: Quickfixn <quickfixn-bounces at lists.quickfixn.com> On Behalf Of
Lanfranco Morini
Sent: 24 February 2021 13:28
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
Subject: Re: {{Quickfixn}} Message values
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
<mailto:quickfixn-bounces at lists.quickfixn.com> > On Behalf Of
alancloughley at hotmail.com <mailto:alancloughley at hotmail.com>
Sent: mercoledì 24 febbraio 2021 13:46
To: 'Mailing list for QuickFIX/n' <quickfixn at lists.quickfixn.com
<mailto:quickfixn at lists.quickfixn.com> >
Subject: {{Quickfixn}} Message values
Hi all,
Looking for a bit of advice on getting values from messages. Ive looked
online but cant 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.
Ive 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/5f52586f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 8099 bytes
Desc: not available
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20210224/5f52586f/attachment-0002.jpg>
More information about the Quickfixn
mailing list