In Java API ,How to return the description of the company symbol

Abowahaj

Member
Joined
Jul 18, 2021
Posts
11
Likes
0
Good time, I hope you can help me get the code to return the company description or currency according to the attached image. I was able to return the company symbol with the following code
nstrument instr = ctx.getInstrument();
String companyname = instr. getSymbol();

For further clarification see the attached image
How can I return the value of the description I hope it helps with thanks
mw.png
 

Abowahaj

Member
Joined
Jul 18, 2021
Posts
11
Likes
0
Hello Spin
you for helping me 🙏

I found :
getSymbol()
getExchangeSymbol()

I not found getDescription() or getDescriptionSymbol()

How can I debug this code :
nstrument instr = ctx.getInstrument();
String SymbolDescription = instr. getDescriptionSymbol();
Awaiting help with many thanks 🙏 🙏
 

Spin

Well-known member
Joined
May 22, 2019
Posts
480
Likes
192
Well, I am afraid that if you can't find in that list what you need, the SDK does not offer it
🤷‍♂️

(you could file a feature request with MW to include it someday, but that might take a while)
 
Top