question

Upvotes
Accepted
42 4 3 6

How to get LBMA gold price?

Hello!

I need to get LBMA gold PM price. I tried this

stringArray[3] = "XAUFIXPM=";
            AdxRtList.Source = "IDN";
            AdxRtList.RegisterItems(stringArray, "BID");
            AdxRtList.StartUpdates(RT_RunMode.RT_MODE_IMAGE)

but it's not working and returning null.

eikoneikon-com-apicommodities
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
4.6k 26 7 22

Hi @aidynchik_84, XAUFIXPM= does not have a "BID" field. The latest value is stored in 'TRDPRC_1'

icon clock
10 |1500

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

where I can read about it? I don't understand how to use it

where I can read about it? I don't understand how to use it

I tried to write

AdxRtList.RegisterItems(stringArray, "TRDPRC_1"); 

and it's working =) am I right?

Thanks

@aidynchik_84 you can do a couple of things:

1. Open the quote app in Eikon, and select XAUFIXPM. Click on the hamburger menu, select Template > Display all fields. This will give you the full list of fields that are retrievable with AdxRtList;

2. Open the data item browser app (in the Eikon command bar type "XAUFIXPM= DIB"