Oct 19 (Reuters) - Australian shares trimmed early gains but still ended higher for a seventh straight session on Thursday, largely shrugging off data which showed China's economic growth eased slightly in the third quarter.
Markets are more focused on whether Wall Street can continue its record-breaking run, which is boosting investors' risk appetite for equities globally.
President Donald Trump's drive to overhaul the U.S. tax code headed for a pivotal moment on Thursday, with Senate Republicans poised to approve a budget measure that would help them pass tax legislation without Democratic support.
The Senate is expected to vote on the budget resolution on Thursday.
"The market is still worried about what is potentially coming out of the United States, we've had a huge run ... and we're seeing a bit of profit taking ahead of that," said Mathan Somasundaram, a market portfolio strategist with Blue Ocean Equities.
The S&P/ASX 200 index (xjo) ended 0.1 percent higher, or 5.623 points, at 5,896.1. The benchmark ended little changed on Wednesday.
The financial index .AXFJ rose 0.5 percent, with Australia and New Zealand Banking Group Ltd (ANZ) up 0.8 percent and National Australia Bank Ltd (NAB) ending flat.
Data from the country's biggest export market, China showed that its economic growth cooled slightly to 6.8 percent in the third quarter year-on-year, which had been widely expected.
Industrial output in September was stronger-than-expected, however.
Still, prices of steelmaking commodities iron ore and coking coal fell sharply on Thursday, along with Shanghai Futures Exchange copper SCFcv1 that slipped by 0.7 percent.
Beijing has ordered some steel mills, smelters and factories in norther parts of the country to reduce production or shut altogether in coming months in its toughest action yet to reduce winter air pollution. That is expected to reduce its demand for raw materials but has raised worries about shortages of finished products, triggering wild swings in resources prices.
BHP Billiton Ltd (BHP) and Rio Tinto Ltd (RIO) ended down 2.3 percent and 2.5 percent, respectively.
New Zealand's benchmark S&P/NZX 50 index (nz50) gained 0.1 percent or 9.05 points to finish at 8,124.07.
Investors were awaiting an announcement from the small New Zealand First Party later in the day on which major party it will support to form a coalition government, ending weeks of political limbo that have hurt the currency and business sentiment.
New Zealand First subsequently said it would throw its support behind the opposition Labour Party.
The telecom services sector led the gains on the index with Spark New Zealand Ltd (SPK) ending 3 percent higher.