* Tech stocks gain nearly 5%, Afterpay leads
* Whitehaven Coal gains almost 3% as qtrly output surges
* Gold stocks and miners in the red (Updates to close)
By Arundhati Dutta
Jan 14 (Reuters) - Australian shares ended higher on Thursday, as investors took cues from an upbeat Wall Street session on U.S. stimulus prospects, with gains powered by domestic tech sector as buy-now-pay-later giant Afterpay surged around 10%.
The S&P/ASX 200 index .AXJO extended gains to a second session, ending 0.43% higher at 6,715.3 points.
"I haven't seen much in the way of huge impactful news, so the markets are happy to follow a relatively okay U.S. session," said Nick Twidale, chief executive officer of APAC, FP Markets.
Wall Street's benchmark S&P 500 index closed slightly higher on Wednesday, as investors waited for details of the next U.S. fiscal stimulus plan and as Congress began President Donald Trump's impeachment hearings. .N
"I would classify it as hopefully bullish," Twidale said.
Back home, tech stocks .AXIJ were the stand-outs of the session on Thursday, closing 4.7% higher after three straight days of losses.
Afterpay APT.AX led gains in the sector after Morgan Stanley (NYSE:MS) raised its price target by over 13%, on expectations that it would continue building a global BNPL platform in 2021. driving Australian BNPLs higher was the stellar Nasdaq debut of Affirm Holdings AFRM.O , which ended its first day with a valuation of more than $23 bln. expects technology stocks to continue to benefit as long as the investors remain in risk-on mode, as the market looks to move back to normalization in 2021.
Financials .AXFJ climbed 0.8%, with the so-called "Big Four" banks adding between 0.4% and 1.9%.
On the downside, gold stocks .AXGD and miners .AXMM lost 1.5% and 0.8%, respectively, brought down by falling gold prices as U.S. Treasury yields and the dollar rebounded. GOL/
Energy stocks .AXEJ closed 0.3% lower, tracking a dip in oil prices, but a nearly 3% jump in Whitehaven Coal's WHC.AX shares after a 29% surge in the coal miner's quarterly output limited losses in the sub-index. O/R New Zealand, the benchmark S&P/NZX 50 index .NZ50 slid 0.03% to finish flat.