(Updates to close)
Nov 3 (Reuters) - Australian shares closed flat on Thursday, after rising marginally earlier, with investors maintaining caution and opting for less risky assets ahead of next week's hotly contested U.S. presidential election.
The S&P/ASX 200 index .AXJO ended down 0.06 pct at 5,225.6 with gains in materials offset by losses in financials.
Opinion polls showing a tightening White House race between Democrat Hillary Clinton and Republican Donald Trump have rattled markets. of the things that the markets are finding very difficult to quantify is what the world would look like if (Donald Trump) happens to get in...and the one place that people would stay up to take some comfort in is gold," said James McGlew, executive director of corporate stockbroking at Argonaut.
Australia's gold index .AXGD rose 3.4 percent, with Newcrest Mining Ltd rising about 3 percent to hit its highest in about two months.
The benchmark financials index .AXFJ closed down 0.2 percent, with Commonwealth Bank of Australia CBA.AX and Westpac Banking Corp WBC.AX weighing on the index most.
"Performance of financial stocks is perhaps suggesting that the easing cycle in Australia might be coming to an end a little quicker than people had anticipated, also there is a bit of growing stress within the bad debt side of the linebooks for all of these major banks," McGlew added.
Australia and New Zealand Banking Group Ltd ANZ.AX was up about 0.6 pct, after posting its full year results on Thursday.
New Zealand's benchmark S&P/NZX 50 index .NZ50 fell for a third consecutive session to close 1.1 percent down at 6,778.94.
Consumer discretionary and telecom sectors were among the biggest losers on the index, with Spark New Zealand Ltd SPK.NZ and Skycity Entertainment Group Ltd SKC.NZ both falling about 2.6 percent.