Stock markets rose to record highs amid a tech-led rally, with analyst Patrick O’Hare saying “the sentiment remains predominantly bullish.”