Re: [Quickfix-developers] How do you determine valid tags for a message?
Brought to you by:
orenmnero
From: Oren M. <or...@qu...> - 2006-10-20 19:40:39
|
Warren, You can use the DataDictionary to do this. It has a method called =20 isMsgField where you pass in a message type and a field tag and it =20 will tell you if that field exists in the message or not. --oren On Oct 20, 2006, at 2:22 PM, Warren Sze wrote: > Hi, > > I=92m using QuickFIX/J 1.0.0-beta1. Are there any helper methods =20 > that can determine if a particular tag is valid for a message? For =20= > example is tag 17 valid (valid, not is the field set for this =20 > particular usage of the message) for a FIX 4.2 New Order Message. =20 > I would of assumed such a method would be at =20 > quickfixj.fix42.NewOrderSingle.isValidTag(). |