[EMA C++]How to request SpreadTableCode

I develop with EMA C++, my question is how to request SpreadTableCode? Is there any example?

image

Best Answer

  • hi

    What I want to get is as follows:

    image

    What I did is as follows:

    image

    Is there any prolem?

Answers

  • Hi @luxiangyuan

    EMA C++ is a data-neutral API - so this sounds more like a Data / Content type query - specific to the exchange / asset class you wish to access.

    I recommend you create a Content query to determine which RIC codes you need to consume to get the required data.

    Product Support

    Product and Content type query and select 'I cannot access specific content within the product'

    For product select whichever type of Elektron service you are using e.g. Thomson Reuters Elektron Real-Time
    Avoid mentioning API etc - as this may result in your query being incorrectly redirected to API support.
  • Hi @luxiangyuan

    Based on your 1st screen capture above, the RIC code for the SpreadTableCode is 'HKSEST01' - which gives you page one of the Spread Table.

    It looks like you can then subscribe 'HKSEST02', 'HKSEST03' etc if you want the further pages of the Spread Table.

  • @luxiangyuan

    If you want the table you have to use the RIC "HKSEST01".

    consumer.registerClient(ReqMsg().servicename("ELEKTRON_DD").name("HKSEST01"),client);

    Both spread table and the misc info Ric ("0001IM.HK") are a page based RICs.

    Basically, a page based RIC contains rows of texts in either;

    • 64 x 14 (64 characters across x 14 rows down) or
    • 80 x 25 (80 characters across x 25 rows down)

    Each row are contained in either set of these fields;

    • ROW64_1(field id 215) to ROW64_14(field id 228) or
    • ROW80_1(field id 315) to ROW80_25(field id 339)

    Please see this answer for more detail.

  • hello:

    does "HKSEST01" need offical evn? We are in the period of development.

    What we use now is "Test ADS", we have not submit the offical request to HKSE.

    now I can not get the result of "HKSEST01".

    request

    image

    result

    image

  • Hi @luxiangyuan

    That message means that your username (DACS ID) 'user1' is not entitled to consume that RIC. Please speak to your Refinitiv account manager OR local market data team to see if they can permission you in DACS for the data you require.

  • Hi umer:

    thank you, but where I can get the RIC 'HKSEST01' 'HKSEST02' 'HKSEST03'

  • Hi @luxiangyuan

    You should be able to get from the same host and servicename as '0001IM.HK', once the 'user1' entitlements are changed to include the product which includes the those RICs.