Close price returned by historical API is wrong. It is returning last traded price (LTP) instead.