The local bourse edged upwards as investors reacted to a court battle over the US president’s sweeping tariff agenda.