Nov 1 (Reuters) - Australian shares closed near a 6-month high on Wednesday, as a jump in oil prices and iron ore futures boosted energy and materials stocks.
The S&P/ASX 200 index (xjo) ended up 0.49 percent or 28.783 points at 5,937.800, its highest close since May 2.
Oil prices ticked up on Wednesday as the Organization of the Petroleum Exporting Countries improved compliance of its pledged supply cuts and Russia extended its support to the deal.
The Australian energy index .AXEJ closed up 1.1 percent to its highest in more than 2 years, with Beach Energy Ltd (BPT) and Whitehaven Coal Ltd (WHC) accounting for most of the gains.
Materials were also among the top gainers as Dalian iron ore futures DCIOcv1 climbed after five consecutive sessions of declines.
BHP Billiton Ltd (BHP) rose to a 2-week high and led most of the gains on the benchmark index.
The Australian Financial index .AXFJ rose 0.4 percent with Westpac Banking Corp (WBC) leading the gains.
Australia's No.2 lender defended its bank bill trading in court on Wednesday, saying it was crucial to funding the group and managing large amounts of cash it held following the global financial crisis.
Bucking the trend, Myer Holdings Ltd (MYR), Australia's biggest department store chain, fell to a 5-week low after it cut its growth targets and said sales had slipped in the first quarter in the face of stiff competition.
New Zealand's benchmark S&P/NZX 50 index (nz50) fell 1.1 percent or 92.530 points to finish the session at 8,053.810 in what was the biggest drop for the index since March.
a2 Milk Company Ltd (ATM) fell 8.2 percent and was the biggest drag on the index.