Upstox, one of India’s largest online trading platforms, has begun discussions with investment banks about a potential initial public offering. The offering could raise about $400 million and is expected to be a mix of new shares and a sale by existing investors.