Just writing some simple code to get previous OHLC of daily EURUSD candles, but it seems that when the algo hits the weekend it starts spewing out giberish. For example:

2017-02-23 00:00:00   preh  1.054745  curh  1.056275  prel 1.05437
2017-02-24 00:00:00   preh  1.056275  curh  1.05858  prel 1.05604
2017-02-25 00:00:00   preh  1.05858  curh  1.061825  prel 1.058065

If you check these values you can see that they dont make sense and the previous high (preh) is almost identical to the previous low (prel)

Any insight into why this is happening?