PM data exist when afternoon session is closed.

Hi,

last year (29th Dec, 2023), I tried to get the data for blow information in Python:

RIC = 'XAUFIXPM=', Fields = 'TRDPRC_1'

It was closed for PM session so it was supposed to be 'none' data. However, I got '2078.4' which is the same as a day before '29th Dec, 2023'.


And this cause big issues. Because of this, the average of this month is totally different.


As a person dealing with these kind of metal for sale, the average price of this metal extremely matters.


I would truly appreciate if you let me know why this happen, and how to get accurate data.

image



Here is my code in Python:

history = rd.get_history(["XAUFIXPM="],["TRDPRC_1"],end='2024-01-01',interval='daily')

print(history)


Best Answer

  • m.bunkowski
    Answer ✓

    Hi @jwlee08

    It looks that you are not entitled to a realtime RIC XAUFIXPM= but only to a delayed /XAUFIXPM=. See the comparison below where you can see this inconsistency in the response.
    I have already reached out to the content team to fix that and will let you know once completed.
    1704278298266.png

Answers