Re: [Quickfix-developers] TradeCaptureReport - Parties
Brought to you by:
orenmnero
|
From: Jochen M. de L. <jm...@bm...> - 2006-07-04 11:45:30
|
You can use the following code. It's applied to the Order Mass Status
Request in C# but I think it should be fairly straightforward to port =
it to
Java ("message" is the QuickFix Message object).
NoPartyIDs noPartyId =3D new NoPartyIDs(2); // in your case it's 2
message.set(noPartyId);
OrderMassStatusRequest.NoPartyIDs group =3D new
OrderMassStatusRequest.NoPartyIDs();
PartyID partyId =3D new PartyID("whatever");
group.set(partyId);
PartyIDSource partyIdSource =3D new PartyIDSource(whatever);
group.set(partyIdSource);
PartyRole partyRole =3D new PartyRole(whatever);
group.set(partyRole);
message.addGroup(group);
// reuse the stuff above for the 2nd instance of the group.
For future reference, please refer to the following link for QuickFix
repeating group usage:
http://www.quickfixengine.org/quickfix/doc/html/repeating_groups.html
or in the case of Quickfix/J
http://www.quickfixj.org/quickfixj/usermanual/usage/repeating_groups.htm=
l
Cheers,
Jochen Mielke de Lima
Bolsa de Mercadorias & Futuros
+55 11 3119-2524
-----Original Message-----
From: qui...@li...
[mailto:qui...@li...] On Behalf Of =
SPG
Sent: ter=E7a-feira, 4 de julho de 2006 08:16
To: qui...@li...
Subject: Re: [Quickfix-developers] TradeCaptureReport - Parties
QuickFIX Documentation:
http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html
Hi Lin,
Thanks for the reply.
I understand the structure of a Party from the FIX spec, but I cannot =
find a
way of implementing a PArty in the QuickFix API (Using the java
implementation).
I see that TradeCaptutreReport.NoSides has a "NoPartyIDs" integer =
field, so
I guess I set that to 2, but how to I add the relevan PartyID, =
PartyRole
fields etc..?
Regards,
Steve
--=20
View this message in context:
http://www.nabble.com/TradeCaptureReport---Parties-tf1889281.html#a51657=
27
Sent from the QuickFIX - Dev forum at Nabble.com.
Using Tomcat but need to do more? Need to support web services, =
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache =
Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
_______________________________________________
Quickfix-developers mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
Esta mensagem pode conter informa=E7=E3o confidencial e/ou =
privilegiada. Se voc=EA
n=E3o for o destinat=E1rio ou a pessoa autorizada a receber esta =
mensagem, n=E3o
dever=E1 utilizar, copiar, alterar, divulgar a informa=E7=E3o nela =
contida ou
tomar qualquer a=E7=E3o baseada nessas informa=E7=F5es. Se voc=EA =
recebeu esta
mensagem por engano, por favor avise imediatamente o remetente, =
respondendo
o e-mail e em seguida apague-o. Agradecemos sua coopera=E7=E3o.
This message may contain confidential and/or privileged information. If =
you
are not the addressee or authorized to receive this for the addressee, =
you
must not use, copy, disclose, change, take any action based on this =
message
or any information herein. If you have received this message in error,
please advise the sender immediately by reply e-mail and delete this
message. Thank you for your cooperation.
|