{{Quickfixn}} Crack Message from String
Grant Birchmeier
gbirchmeier at connamara.com
Tue Nov 5 11:53:26 PST 2013
For non-header fields, the direct accessors are much easier. For instance,
you can use m.OrderID instead of m.GetField(orderID).
I feel like you might not be reading the docs or example apps, as they both
show you how to use such accessors.
See http://quickfixn.org/tutorial/receiving-messages
or
https://github.com/connamara/quickfixn/blob/master/Examples/Executor/Executor.cs
.
On Tue, Nov 5, 2013 at 9:36 AM, Ashutosh Mishra <A.Mishra at ny.tr.mufg.jp>wrote:
> Is the code shown below enough to extract all the fileds form the
> exection report:
>
> SenderCompID sendComp = new SenderCompID();
>
> Console.WriteLine("Sender Comp :" + m.Header.GetField(sendComp));
>
> TargetCompID targetComp = new TargetCompID();
>
> Console.WriteLine("Target Comp :" + m.Header.GetField(targetComp));
>
> OrderID orderID = new OrderID();
>
> Console.WriteLine("Order ID is :" + m.GetField(orderID));
>
> ExecID execID = new ExecID();
>
> As I am not able to get some fields (like the USI) using the the above
> code, altough I see the tag (1903) for the same in the execution report. My
> concern is that if I am not able to extract the fields with the above code,
> will I have to extract the same from the execution report by storing it in
> a text file etc.. and than writing code to extract the fields?
>
>
>
> Thanks & Regards,
>
> Ashutosh Mishra
>
>
>
>
> *********************************************************************************
>
> This communication (including any attachments) is intended only or the use
> of the individual whom it is addressed and may contain information that is
> privileged, confidential or legally protected. If the reader of this
> message is not the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this communication is strictly
> prohibited. If you have received this communication in error, please notify
> us immediately by replying to the message. Please also delete the message
> and its attachments, if any, from your computer and destroy any hard copies
> you may have created. Thank you for your cooperation.
>
>
> *********************************************************************************
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>
--
Grant Birchmeier
*Connamara Systems, LLC*
*Made-To-Measure Trading Solutions.*
Exactly what you need. No more. No less.
http://connamara.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20131105/17413c9b/attachment-0002.htm>
More information about the Quickfixn
mailing list