The local sharemarket had risen by midday in what was expected to be a volatile day of trade buffeted by United States election news.