...A Java
@wasin.w
Hello @Chaitanya.Vishnubhotla,
As I mentioned earlier in this thread that DataScope Select (DSS) can resolve other identifier types to RIC. This name resolving step has to be done before you use real-time APIs, so this topic might not relate to EMA API directly.
Anyway, I will demonstrate how to do name resolving by DSS Web GUI.
To start with it, I prefer using public data from Thailand Stock Exchange (SET) that I’m familiar with.
If you click the previous link, it will lead to a page which tries to describe that Thailand Stock Exchange uses ISIN as an identifier of each security.
Next, the tutorial in the other thread that I suggested previously; REST API Tutorial 11: Search by Instrument will show you how to search an instrument using various identifier types. It also mentions about DSS web GUI that I’m going to use it here.
To access DSS web GUI, you need to have your login credential. Please contact your account team for yours.
From the previous steps, I have CB17502A=TS, THCB17502A=, and THCB17502A=RRPS. I’ll try to pass them to EMA; the real-time API.
consumer.registerClient(reqMsg.clear().serviceName("<<service name>>").name("CB17502A=TS"), appClient);consumer.registerClient(reqMsg.clear().serviceName("<<service name>>").name("THCB17502A="), appClient);consumer.registerClient(reqMsg.clear().serviceName("<<service name>>").name("THCB17502A=RRPS"), appClient);
Finally, I get three results from Elektron as follows:
RefreshMsg streamId="5" domain="MarketPrice Domain" solicited RefreshComplete state="Open / Ok / None / 'All is well'" itemGroup="00 0f" permissionData="03 08 43 31 65 c0" name="CB17502A=TS" nameType="1" serviceId="2115" serviceName="API_ELEKTRON_EPD_RSSL" Payload dataType="FieldList" FieldList FieldListNum="186" DictionaryId="1" FieldEntry fid="1" name="PROD_PERM" dataType="UInt" value="3165" FieldEntry fid="2" name="RDNDISPLAY" dataType="UInt" value="152" FieldEntry fid="3" name="DSPLY_NAME" dataType="Rmtes" value="CB17502A "...RefreshMsg streamId="6" domain="MarketPrice Domain" solicited RefreshComplete state="Open / Ok / None / 'All is well'" itemGroup="00 0f" permissionData="03 08 43 24 94 c0" name="THCB17502A=" nameType="1" serviceId="2115" serviceName="API_ELEKTRON_EPD_RSSL" Payload dataType="FieldList" FieldList FieldListNum="26" DictionaryId="1" FieldEntry fid="1" name="PROD_PERM" dataType="UInt" value="2494" FieldEntry fid="2" name="RDNDISPLAY" dataType="UInt" value="152" FieldEntry fid="3" name="DSPLY_NAME" dataType="Rmtes" value="CB17502A "...RefreshMsg streamId="7" domain="MarketPrice Domain" solicited RefreshComplete state="Open / Ok / None / 'All is well'" itemGroup="00 04" permissionData="03 08 43 70 65 c0" name="THCB17502A=RRPS" nameType="1" serviceId="2115" serviceName="API_ELEKTRON_EPD_RSSL" Payload dataType="FieldList" FieldList FieldListNum="26" DictionaryId="1" FieldEntry fid="1" name="PROD_PERM" dataType="UInt" value="7065" FieldEntry fid="2" name="RDNDISPLAY" dataType="UInt" value="152" FieldEntry fid="3" name="DSPLY_NAME" dataType="Rmtes" value="BANK OF THAILAND"...
Hope this helps.
For realtime data from Elektron; clients dealing in multiple security identifiers usually maintain a security master database with this mapping. You can look at DSS API to get some of this information.