Locals have been putting record money into the market, with foreign investors also turning net buyers of Indian equities this year