{{Quickfixn}} FW: FW: Custom_Fields

Ashutosh Mishra A.Mishra at ny.tr.mufg.jp
Thu Nov 21 11:51:55 PST 2013


Sorry, this is what is there in the DD file:

<components>
<component name="RegulatoryTradeIDGrp">
                                                <group name="NoRegulatoryTradeIDs" required="N">
                                                                <field name="RegulatoryTradeID" required="Y"/>
                                                                <field name="RegulatoryTradeIDSource" required="Y"/>
                                                                <field name="RegulatoryTradeIDEvent" required="N"/>
                                                                <field name="RegulatoryTradeIDType" required="N"/>
                                                </group>
                                </component>

And I need the RegulatoryTradeID field.


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.
*********************************************************************************

From: quickfixn-bounces at lists.quickfixn.com [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Grant Birchmeier
Sent: Thursday, November 21, 2013 2:40 PM
To: Mailing list for QuickFIX/n
Subject: Re: {{Quickfixn}} FW: FW: Custom_Fields

I'm really confused.  Are you sending the message or receiving it?  Because it looks like you're trying to create a group, which you'd only do if you were sending.  But earlier you were complaining that you can't *receive* them.  Which is it?

I see in your earlier email that you added the field definitions, but did you edit the message definition or ExecutionReport?  You have to do this to tell the engine that 1903 belongs in an ExecutionReport.

Also, in the future, please tell me what the error actually is.

On Thu, Nov 21, 2013 at 1:33 PM, Ashutosh Mishra <A.Mishra at ny.tr.mufg.jp<mailto:A.Mishra at ny.tr.mufg.jp>> wrote:
Still struggling with repeated groups. Can you plz tell wht rong I am doing in this code:


QuickFix.Group NoRegulatoryTradeIDs = new QuickFix.Group(1907, 1);

NoRegulatoryTradeIDs.SetField(1903,"string");

m.AddGroup(NoRegulatoryTradeIDs);

const int RegulatoryTradeID = 1903;

string regTradeId = NoRegulatoryTradeIDs.GetString(RegulatoryTradeID);

Console.WriteLine("Unique Swap ID:" + regTradeId);

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20131121/4ca2332e/attachment-0002.htm>


More information about the Quickfixn mailing list