{{Quickfixn}} HELP ME
Nirjhar Jain
nirjhar.jain at commdel.net
Tue Nov 26 22:08:34 PST 2013
Hi Randa,
I think this can help you. I have done this in my code:
message.GetField(Tags.NoMDEntries);
MarketDataSnapshotFullRefresh.NoMDEntriesGroup group = new MarketDataSnapshotFullRefresh.NoMDEntriesGroup();
MDEntryType MDEntryType = new MDEntryType();
MDEntryPx MDEntryPx = new MDEntryPx();
message.GetGroup(1, group);
group.GetField(MDEntryType);
group.GetField(MDEntryPx);
message.GetGroup(2, group);
group.GetField(MDEntryType);
group.GetField(MDEntryPx);
You can use this as a sample and do accordingly.
Thanks & Regards,
Nirjhar Jain
Software Engineer
COMMDEL
Commdel Consulting Services P Ltd,
H-134, Sector-63, Noida - U.P. (India)
<http://www.commdel.net/> www.commdel.net
A n I S O 9 0 0 1 : 2 0 0 8 C e r t i f i e d C o m p a n y
Payment Enterprise Mobility Internet
From: quickfixn-bounces at lists.quickfixn.com [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Randa.khaleel
Sent: Wednesday, November 27, 2013 12:04 PM
To: Mailing list for QuickFIX/n
Subject: Re: {{Quickfixn}} HELP ME
I need a sample to read group to get the market by price the price and the quantity (Repeating Group Tag=268, Tags.MDEntryType
Tags.MDEntryPx
)
Please help me to how to iterate through groups and get the value of these tags
From: quickfixn-bounces at lists.quickfixn.com <mailto:quickfixn-bounces at lists.quickfixn.com> [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of James Riehl
Sent: Tuesday, November 26, 2013 12:56 PM
To: Mailing list for QuickFIX/n
Cc: Mailing list for QuickFIX/n
Subject: Re: {{Quickfixn}} HELP ME
There is no way for us to determine if you should use the data in a group. The only thing we can help you with is forming the group for sending messages and reading the group for received messages. If you have other questions, please explain what you have tried.
Sent from my iPhone
On Nov 26, 2013, at 3:36, Randa.khaleel <Randa.khaleel at edata-tc.com <mailto:Randa.khaleel at edata-tc.com> > wrote:
Thanks a lot but how to know the group should to be used
For example I need to use tag 268 to get the market by order and market by price in data feed
From: quickfixn-bounces at lists.quickfixn.com <mailto:quickfixn-bounces at lists.quickfixn.com> [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Grant Birchmeier
Sent: Monday, November 25, 2013 5:12 PM
To: Mailing list for QuickFIX/n
Subject: Re: {{Quickfixn}} HELP ME
Randa, have you read the tutorials on the QuickFIXn.org <http://QuickFIXn.org> web site?
On Mon, Nov 25, 2013 at 8:20 AM, Peter Jones <pete.jones at arcem.com <mailto:pete.jones at arcem.com> > wrote:
Randa,
Here is a C# extension snippet which works for me.
public static class FixExtension
{
public static IEnumerable<QuickFix.FIX44.ExecutionReport.NoPartyIDsGroup> PartyRoles(this QuickFix.FIX44.ExecutionReport executionReport)
{
for (int grpIndex = 1; grpIndex <= executionReport.GetInt(Tags.NoPartyIDs); grpIndex++)
{
var result = new QuickFix.FIX44.ExecutionReport.NoPartyIDsGroup();
executionReport.GetGroup(grpIndex, result);
yield return result;
}
}
public static IEnumerable<QuickFix.FIX44.ExecutionReport.NoPartyIDsGroup.NoPartySubIDsGroup> PartySubRoles(this QuickFix.FIX44.ExecutionReport.NoPartyIDsGroup partyGroup)
{
for (int grpIndex = 1; grpIndex <= partyGroup.GetInt(Tags.NoPartySubIDs); grpIndex++)
{
var result = new QuickFix.FIX44.ExecutionReport.NoPartyIDsGroup.NoPartySubIDsGroup();
partyGroup.GetGroup(grpIndex, result);
yield return result;
}
}
public static IEnumerable<QuickFix.FIX44.ExecutionReport.NoSecurityAltIDGroup> AltSecurityIds(this QuickFix.FIX44.ExecutionReport executionReport)
{
for (int grpIndex = 1; grpIndex <= executionReport.GetInt(Tags.NoSecurityAltID); grpIndex++)
{
var result = new QuickFix.FIX44.ExecutionReport.NoSecurityAltIDGroup();
executionReport.GetGroup(grpIndex, result);
yield return result;
}
}
}
From: quickfixn-bounces at lists.quickfixn.com <mailto:quickfixn-bounces at lists.quickfixn.com> [mailto:quickfixn-bounces at lists.quickfixn.com <mailto:quickfixn-bounces at lists.quickfixn.com> ] On Behalf Of Randa.khaleel
Sent: Monday, November 25, 2013 10:15 AM
To: quickfixn at lists.quickfixn.com <mailto:quickfixn at lists.quickfixn.com>
Subject: {{Quickfixn}} HELP ME
From: Randa.khaleel
Sent: Saturday, November 23, 2013 11:45 AM
To: quickfixn at lists.quickfixn.com <mailto:quickfixn at lists.quickfixn.com>
Subject: getgroup in quick fix
Hi,
I need a full example of how to use a getGroup(int num,field) and how to iterate through the groups in addition I need detailed description of how
This method work.
Kindly help me
RANDA alsimsimawi
SENOIR SOFTWARE DEVleloper
T : +962 655 33 347 <tel:%2B962%20655%2033%20347> / +962 655 32 347 <tel:%2B962%20655%2032%20347>
F : +962 655 35 347 <tel:%2B962%20655%2035%20347> / randa.khaleel at edata-tc.com <mailto:h.alsabatin at edata-tc.com> www.edata-tc.com <http://www.edata-tc.com>
The contents of this e-mail are intended for the named addressee only. It contains information
that may be confidential. Unless you are the named addressee or an authorized designee, you
may not copy or use it, or disclose it to anyone else. If you received it in error please notify us
immediately and then destroy it. EDATA Technology Ltd (Registration number: 30579) is a
company registered in the Jordan whose registered office is at Doar Alwaha Riyhad Alasaf Building
402 - 403 Amman, Jordan
_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com <mailto: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
_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com <mailto:Quickfixn at lists.quickfixn.com>
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20131127/5798cc44/attachment-0002.htm>
More information about the Quickfixn
mailing list