I don't seem to have this:


I have


and compiler can't find a suitable onMessage() overide.

Have I declared stuff wrong?

using QuickFix;
using QuickFix.Fields;
using QuickFix.FIX42;

On 19 March 2014 14:25, Jonathan Steinberg <jsteinberg@jefferies.com> wrote:
QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

>The messages come with repeated tags. I do not understand the QuickFix/Net
>documentation on how to deal with it.

Basically, you do two things to handle a set of repeating groups
1) Get the number of items in the repeating group
2) Call GetGroup that number of times to retrieve each group item of the specified type:

So , say for a QuickFix42.MarketDataIncrementalRefresh message, number of groups are in  the NoMDEntries *field* of the message
The repeated groups are of *type* "NoMDEntries",  and you call getGroup for each index.

        //get the number of groups
        int count = message.getNoMDEntries().getValue();
       //variable for each group item
        QuickFix42.MarketDataIncrementalRefresh.NoMDEntries repeatingMDItem = new QuickFix42.MarketDataIncrementalRefresh.NoMDEntries();
         for (int i = 1; i <= count; i++)
        //get group item # I
                message.getGroup(i, repeatingMDItem);

        //repeatingMDItem now has the data in repeating group number i.
        //Do whatever you need to get the data for the group item....

Good luck!
Jonathan Steinberg

-----Original Message-----
From: xmoon 2000 [mailto:xmoon2000@googlemail.com]
Sent: Wednesday, March 19, 2014 7:56 AM
To: quickfix-users@lists.sourceforge.net
Subject: [Quickfix-users] Repeated groups

QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

Jefferies archives and monitors outgoing and incoming e-mail. The contents of this email, including any attachments, are confidential to the ordinary user of the email address to which it was addressed. If you are not the addressee of this email you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. This email may be produced at the request of regulators or in connection with civil litigation. Jefferies accepts no liability for any errors or omissions arising as a result of transmission. Use by other than intended recipients is prohibited. In the United Kingdom, Jefferies operates as Jefferies International Limited; registered in England: no. 1978621; registered office: Vintners Place, 68 Upper Thames Street, London EC4V 3BJ. Jefferies International Limited is authorized and regulated by the Financial Conduct Authority.

Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
Quickfix-users mailing list