question

Upvotes
Accepted
1 0 0 1

How to identify OPNE, CLOSE, AUCTION price for Trade?

How to identify OPEN, CLOSE and AUCTION price while processing trade message?

We are missing OPEN, CLOSE, AUCTION price for many securities. Not able to find consistent condition code across all exchanges to derive this. If someone can guide us or provide some insight, would be great help.

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-api
icon clock
10 |1500

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

Hello @mizanur.kazi,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

-AHS

1 Answer

Upvotes
Accepted
9.5k 10 5 7

Hello @mizanur.kazi

Return fields can vary depending on the exchange / instrument(security). EMA just passes data as it receives to the application. It is possible that when you run EMA application, the fields are not generated or the securities do not have these fields. I would suggest you reach out to the Refinitiv Helpdesk as they have data specialists who can provide the proper answers for this.

One possible way to identify fields while processing trade message is using field id. You can find out field id (FID ID) of each field from <ElektronSDK Package>\Java\etc\RDMFieldDictionary . For example:

//fieldList is from refreshMsg.payload().fieldList() 
//or updateMsg.payload().fieldList()
             for (FieldEntry fieldEntry : fieldList)
             {
                    if (fieldEntry.fieldId()==FIDID_CLOSE)
                    {
                           //process fields close
                    }
                    else if(fieldEntry.fieldId()==FIDID_OPEN) 
                    {
                           //process fields open
                           
                    }
                    else if(fieldEntry.fieldId()==FIDID_AUCTN) 
                    {
                           //process fields AUCTION
                    }
                ….
             }

Hope this help.

icon clock
10 |1500

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

Click below to post an Idea Post Idea