Getting historic prices gives "errorCode":"error.price-history.io-error"

7 posts / 0 new
Last post
dallastower
Getting historic prices gives "errorCode":"error.price-history.io-error"

I've started seeing this error the last couple of days.
This specific error is not described among the error codes found in the REST API Reference, so I guess it's an internal server error?

I'm asking for the 300 last 1 minute data for CS.D.EURUSD.CFD.IP,
the response is 400 Bad Request, and body is
{"errorCode":"error.price-history.io-error"}

jezspk1
error.price-history.io-error

as per my message "Historic data server issue" I am also seeing this error code periodically. If you right click and copy the following https address (NB it is not displayed fully but copying it still works) :

https://demo-api.ig.com/gateway/deal/prices/TM.D.MEX.IFD.IP/MINUTE/2017-...

and then paste it into the REST API companion URL box, and then do a 'get', it will generate the error. Changing the time range by a day (e.g. change 2017-03-17 to 2017-03-18) leads to no error.

I suspect that this is an issue that someone from IG needs to look into. It has been a while since I have looked at the community messages but there used to be a fellow named Chris who would address such issues. Does anyone know if this is still the case?

dallastower
Did you try sending a mail to

Did you try sending a mail to customer support?

dallastower
The reason I was getting

The reason I was getting these errors was that I my request exceeded the limits mentioned under
"How much historical price data can I get for different resolutions?" in the FAQ: https://labs.ig.com/faq

jezspk1
error.price-history.io-error

are you sure? The error I get when I exceed the historic data allowance is:

"error.public-api.exceeded-account-historical-data-allowance"

not:

"error.price-history.io-error"

Regards, Jeremy

jezspk1
error.price-history.io-error

are you sure? The error I get when I exceed the historic data allowance is:

"error.public-api.exceeded-account-historical-data-allowance"

not:

"error.price-history.io-error"

Regards, Jeremy

mirdin
I have the exact same problem

I have the exact same problem. Did you manage to find a solution?
The problem only occurs on my site if I request SECOND resolution, it works well with MINUTE resolution.
It is also not a problem of exceeding historic data allowance, since I am requesting yesterday's data.

Log in or register to post comments