Getting field name by tag # in QF/J?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Getting field name by tag # in QF/J?

Andrew Munn
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


Is there some method working roughly like this?

int tagNum=1;
String name = quickfix.fix42.getFieldName(tagNum);
// name="Account"

Thanks


------------------------------------------------------------------------------
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Getting field name by tag # in QF/J?

Christoph John
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/



Hi,
this can be obtained via the DataDictionary class.

Cheers,
Chris.

Am 15. Oktober 2015 21:01:52 MESZ, schrieb Andrew Munn <[hidden email]>:
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


Is there some method working roughly like this?

int tagNum=1;
String name = quickfix.fix42.getFieldName(tagNum);
// name="Account"

Thanks






Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users

------------------------------------------------------------------------------

_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Getting field name by tag # in QF/J?

Grant Birchmeier
In reply to this post by Andrew Munn
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/



There's DataDictionary.getFieldName(int):

You can get the DD object from your Session, or you can create it yourself with your DD file as parameter.

On Thu, Oct 15, 2015 at 2:01 PM, Andrew Munn <[hidden email]> wrote:
QuickFIX/J Documentation: <a href="http://www.quickfixj.org/documentation/ QuickFIX/J" rel="noreferrer" target="_blank">http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


Is there some method working roughly like this?

int tagNum=1;
String name = quickfix.fix42.getFieldName(tagNum);
// name="Account"

Thanks


------------------------------------------------------------------------------
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users



--
Grant Birchmeier
Connamara Systems, LLC
Made-To-Measure Trading Solutions.
Exactly what you need. No more. No less.

------------------------------------------------------------------------------

_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Loading...