I am searching for a code which can give me the previous two day's OHLC values. Also i want the opening price for today market.
e.g. Today it is 23-10-2017. so i will need OHLC value for 20-10-2017 and 19-10-2017. Also i will require to get the opening price for particular symbol when market open on 23-10-2017.