Closed andreaskoeszegi closed 2 years ago
Hi Andrew, Although you don't mention an issue with the oandapyV20 library, I will try to explain:
The market is open from Sunday 21:00 UTC to Friday 21:00 UTC. daily candles therefore from:
Sunday 21:00 -> monday 21:00 monday 21:00 -> Tue 21:00 Tue 21:00 -> wed 21:00 wed 21:00 -> thur 21:00 thursday 21:00 -> Friday 21:00
So, the datetime of the first candle is sunday. This is what it is. The API data is OK
Hello!
I´m not sure what I´m doing wrong. When I try to request daily candle data and compare it with the webchart, the API seems to shift OHLC data by one day
Here an example:
Output´d be:
As you can see, the API-data from may 11th seems to fit to chart-data of may 12th
Other granularities work fine. I´m working on a practice-account. It´s probably an Issue from the Rest-API from Oanda. I already emailed them.
Or did I interpreted the output the wrong way?
Thank you in advance for your replies!
best regards Andrew