Indian stock markets continued to trade in a consolidation phase on Wednesday, opening flat with slight gains.