I am using quickfixj 1.53 (counterparty is using FIX50SP2 specs. I am trying to create MassQuoteMessage , but I am having difficulties adding instrument information and custom tags defined by the counterparty:


Here is part of my counterparty requirements:






Tag:117 (QuoteID)

Tag 296 (NoQuoteSets)

                Tag : 302 (QuoteSetID)

            Taag 48: (SecurityId)

            Tag 22: (SecurityIDSource)

            Tag 12345 (Custom)

            Tag: 12346 (Custom2)


                        Tag 299 (QuoteEntryID)

Tag 132 (BidPx)

Tag 133(OfferPx)




My Java code :

MassQuote offeringMessage = new MassQuote(new QuoteID(String.format("QID_%s", sequence++)));


// header -- TODO maybe it is not needed

offeringMessage.getHeader().setField(new MsgType(MsgType.MASS_QUOTE));


MassQuote.NoQuoteSets quoteSetGroup = new MassQuote.NoQuoteSets();

quoteSetGroup.set(new QuoteSetID(String.format("QSET_%s", sequence)));            

quoteSetGroup.set(new TotNoQuoteEntries(1));


// How to add custom filelds and Instrument info ????????


MassQuote.NoQuoteSets.NoQuoteEntries quoteEntryGroup = new MassQuote.NoQuoteSets.NoQuoteEntries();

quoteEntryGroup.set(new QuoteEntryID(“1”));


quoteEntryGroup.set(new BidPx(2.1));

quoteEntryGroup.set(new OfferPx(2.0));






Thank you,



This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential.
Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message.
This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message.

Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent.
Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite.
Si vous recevez ce courriel par erreur, veuillez m'en aviser immédiatement, par retour de courriel ou par un autre moyen.