question

luxiangyuan avatar image
87 4 3 10

[EMA C++]How to request SpreadTableCode

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

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apirequest
10 |1500

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

luxiangyuan avatar image
87 4 3 10

hi

What I want to get is as follows:

What I did is as follows:

Is there any prolem?


10 |1500

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

umer.nalla avatar image
23.5k 84 10 22

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.
10 |1500

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

umer.nalla avatar image
23.5k 84 10 22

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.

10 |1500

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

warat.boonyanit avatar image
4.4k 10 6 9

@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.

10 |1500

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

luxiangyuan avatar image
87 4 3 10

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

result


1543321993.png (31.8 KiB)
15433220301.png (29.8 KiB)
10 |1500

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

umer.nalla avatar image
23.5k 84 10 22

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.

10 |1500

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

luxiangyuan avatar image
87 4 3 10

Hi umer:

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

10 |1500

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

umer.nalla avatar image
23.5k 84 10 22

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.

10 |1500

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