question

Upvotes
Accepted
25 6 5 11

How to convert currency code to its value in EMA?

fieldEntry.enumValue() gives the INT value . How to obtain the enum text representation ? Please advise.

elektronrefinitiv-realtimeelektron-sdkema-apirrtelektron-message-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
9.6k 10 7 7

Hello @sagar.s

EMA Java is open source so you can modify it to get decoded enum value according to the enum dictionary it has loaded. Please refer to the question

Decoding FieldList Contents with Field and Enumerated Types Dictionaries which explains how to modify EMA Java to get enum text

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
17.3k 82 39 63

Hi @sagar.s,

The details of the enumeration values you are interested in are available within the dictionary however these details and interface are presently hidden from the developer. These capabilities will be available in future releases.

You can refer this discussion and approach to programmatically access these details.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Is there any Java discussion which I can refer?

Is there an ETA for enumText representation for the future release? Any idea when it will be released?

Upvotes
17.3k 82 39 63

Hi @sagar.s,

There are no equivalent discussions within this forum related to Java. However, you can refer to the EMA Examples, specifically within the 300 Series Examples, you will find 332__Dictionary__Streaming.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.