Global Directory
Global Directory
EXPLORE OUR SITES
London Stock Exchange Group
LSEG Data & Analytics
MyAccount
LSEG Perspectives
London Stock Exchange
FTSE Russell
LCH
Contact Us
Home
TR Internal
Eikon JET - Retrieve Company Name
Matt Boland
Using the JET API I am able to get the RIC code for the current context. Am I also able to retrieve the company name for the current context? Or for that RIC code, turn around and look up it's associated company name?
var ctxtChangeCallback = function(contextData) {
console.log("The web page got the following new context : ");
var entities = contextData.length > 0 ? contextData : null;
if (entities == null) {
console.log("No relevant context was provided to the page");
} else {
var currentRicCode = entities[0]["RIC"];
console.log("First context we have is : " + currentRicCode);
}
};
JET.onContextChange(ctxtChangeCallback);
-- OR --
var currentSymbol = JET.getActiveSymbol();
Find more posts tagged with
html
eikon
jet
refinitiv-internal
Accepted answers
All comments
Alex Putkov.1
Hi Matt,
A RIC can refer to any type of financial instrument including foreign exchange and interest rates, fixed income, derivatives, economic indicators and so on and so forth. A good portion of the RICs universe have no relation to any company or legal entity.
For equity RICs you can get short company name using JET.Quotes API and field CF_NAME.
One drawback is that JET only provides access to real-time data, which is subject to exchange data permissioning. Even though a company name is not a fee liable piece of data, JET will only retrieve it if the user is entitled to view the data from the exchange where the stock is traded.
Jonathan Haruni - Refinitiv
Use Jet.Quotes as Alex suggested to access info about the RIC. There is another field you'll get back, DSPLY_NAME, that provides a short, friendly name that can be used on screen to give a human some clue of what the instrument is. For stocks (cash equities) it is the company name. For most other security types it is more the name of the security than of the underlying company. It's meant to be concise and tell a person what the instrument is. Please experiment .... it may not always be what you want, a good example being a forex RIC where the field is (ab)used for something else.
Quick Links
All Forums
Recent Questions
Terms of use
Privacy & Cookie Statement
Cookies settings
Do not sell my info
Whistleblowing
UK Bribery Act
Modern Slavery Act