Hi,
I am using a Python script to retrieve historical prices of Brent Crude, logging into the API is fine (status code 200), however, when I use a GET request for retrieving the prices I keep getting a status code of 404 (invalid URL), can anyone point out what I'm doing wrong, I've been at it for a very long time now and give in!
The IG Labs references states that the endpoint is:
/prices/{epic}/{resolution}/{startDate}/{endDate}
The API companion spits out this:
https://api.ig.com/gateway/deal/prices/IX.D.FTSE.DAILY.IP?resolution=MINUTE_5&from=2015-07-21T00%3A00%3A00&to=2015-07-21T23%3A59%3A59
I'm using this:
https://api.ig.com/gateway/deal/prices/IX.D.FTSE.DAILY.IP/MINUTE_5/2015-07-21T00:00:00/2015-07-21T23:59:59
Thanks