The Ibovespa edged up to trade near the 173,000 mark on Friday as investors assessed May industrial production and June services PMI data.

Services activity data showed an expansion at a slightly faster pace in June as demand improved, supporting shares linked to domestic tertiary sector activity.

Rede D'Or gained nearly 1%, Raia Drogasil advanced 1.5%, while Bradesco and Banco do Brasil added about 0.5%.

Also, oil prices remained near pre-conflict lows amid optimism over US-Iran peace efforts, easing concerns about energy-driven inflation and supporting financial stocks and the broader index.

Meanwhile, industrial production rose just 0.2% year-on-year in May, well below forecasts of a 1.3% increase, Ambev fell nearly 1%.

Investors also monitored the US decision to launch a public consultation on Brazilian trade policies and practices while awaiting trade balance data.