{{Quickfixn}} FW: FW: Custom_Field

Ashutosh Mishra A.Mishra at ny.tr.mufg.jp
Fri Nov 22 12:37:41 PST 2013


Hi Grant,
                 Was able to get over the Custom Group problem. Thanks for all the help.
I was looking into my log files folde  and there were no logs -- I am using:

QuickFix.IMessageStoreFactory storeFactory = new QuickFix.FileStoreFactory(settings);
QuickFix.ILogFactory logFactory = new QuickFix.ScreenLogFactory(settings);

When I use : QuickFix.ILogFactory logFactory = new QuickFix.FileLogFactory(settings);
I am able to see the log in the log folder, but the log does not contain the FIX message, which is being received.

When I use : QuickFix.ILogFactory logFactory = new QuickFix.ScreenLogFactory(settings);
I can see the output in the console.

I want both the things the FIX message in the log as well as FIX message on the console. How can I do that?

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);

I am getting error, where the color of text is red.

Thanks & Regards,
Ashutosh Mishra

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20131122/95cab5ea/attachment-0002.htm>


More information about the Quickfixn mailing list