The Malaysian stock market rose on Wednesday as investors closely watched the development of the US presidential election.