I Develop use EMA in c++;Which API can be used to get the stock list of HKSE?Which Example can i used for reference?
Hi @luxiangyuan,
You can use the EMA C++ API to retrieve your market data. To understand the basics of requesting for data, I would suggest you walk through the QuickStart guide then follow up with the Tutorials to help you to understand the general approach to retrieving data.
The API is data agnostic meaning your simply provide instrument codes referred to RICs (Reuters Instrument Code) as a request when using the API. Regarding the specifics of retrieve the stock list of HKSE, I would contact the Refinitiv Helpdesk by calling the Helpdesk number in your country.
As an example of the top 300 Equities within HK, you can use the RIC "0#.CSIH11164" which provides a record that contains references to other RICs. This is known as a Chain. To better understand what a Chain is, I would highly recommend you review this article discussing the basics of chains and how to process.
thanks nick:
I review the article in your answer, but in java;
we develop in c++, I can not even found the "FlatChain".
So, how can I get the stock list in EMA(C++)
To get any data in C++, simply follow the Tutorials I linked to. You then use a "stock list" code, or RIC to request for your data.
The article explains the concepts of Chains and uses Java to demonstrate. Using the examples within Tutorials or the samples packaged within the EMA product, you can apply the logic of the details within the Chain article and code in C++.
Hi nick:
thanks for your answer,
I read the "Article", and found the source code of chain. FlatChain.......
thanks again.
what is the maxNum of :"getNameGuessesCount"?I see it is 50 in the example,
For now I would leave it at 50. I will reach out to the author to comment on the maximum.