The headline indices ended a two-day losing streak on August 7.
The Sensex and the Nifty finished the session higher despite Trump's tariff threat.
As many as 19 stocks out of the Nifty 50 pack finished the session in the red while 31 finished in the green.