Inaccurate values from Prices API on live account

1 post / 0 new
abutt4
Inaccurate values from Prices API on live account

Hi, I have implemented the prices API in my software in order to trade with IG. Currently, I am facing an issue of inaccurate prices values. I am using a live account. For example, I fetched an epic CS.D.GBPCHF.TODAY.IP. I got a record that didn't match the actual HLOC data available in IG (after login). I.e,

At time : "2020/06/25 11:00:00" the API gives this but in actual the values are different.

{
"snapshotTime": "2020/06/25 11:00:00",
"snapshotTimeUTC": "2020-06-25T10:00:00",
"openPrice": {
"bid": 11798.3,
"ask": 11803.3,
"lastTraded": null
},
"closePrice": {
"bid": 11815.9,
"ask": 11818.9,
"lastTraded": null
},
"highPrice": {
"bid": 11818.1,
"ask": 11821.4,
"lastTraded": null
},
"lowPrice": {
"bid": 11788.1,
"ask": 11791.1,
"lastTraded": null
},
"lastTradedVolume": 7048
}

Actual values:
Open: 11800.8
Close:11817.3
Low: 11789.3
Highest: 11819.6

What is wrong here?