Shanghai fell Wednesday, bucking a regional trend that saw markets rise in the wake of upbeat Chinese trade data that provided some much-needed respite from a volatile start to 2016.
After more than a week of sharp losses fuelled by worries over China's economy, news that the country's exports had picked up in December provided some incentive to buy after a strong lead from Europe and New York.
The rise in overseas shipments, from a fall in November, indicated authorities' weakening of the yuan currency against the dollar was beginning to filter through.
The figures came against a backdrop of contracting global trade last year, Bloomberg News reported, meaning China's export performance was relatively strong.
"China actually outperformed the rest of the world in exports, with its share in global exports rising," it cited Larry Hu, head of China Economics at Macquarie Securities in Hong Kong, as saying in a report ahead of the data.
While the positive news sent Shanghai stocks higher initially, they ended the day 2.4 percent in the red again having already slumped almost 15 percent this year.
However, Hong Kong ended up 1.1 percent and Sydney, where several firms with strong trade links with China are listed, closed 1.3 percent higher, having finished in the red every previous session this year.
And Tokyo finally ended on a positive note after dropping for six straight sessions, gaining 2.9 percent.
Dealers were also buoyed by the central People's Bank of China (HKSE: 3988-OL.HK - news) 's decision not to lower its yuan fixing against the dollar. Its weakening of the rate was one of the catalysts for last week's global rout.
- Oil prices gain -
In a sign of easing tensions, the rate in Hong Kong that banks charge each other to borrow the yuan nosedived to just over eight percent Wednesday from the previous day's record near 67 percent
The rare upbeat mood followed healthy gains in Europe and the US, where a positive start to the corporate earnings season provided some support.
The Nasdaq rose 1.0 percent, the S&P 500 was up 0.8 percent and the Dow put on 0.7 percent, while London, Paris and Frankfurt all climbed one percent or more.
Soon after opening Wednesday London rose 1.1 percent, Frankfurt gained 1.3 percent and Paris jumped 1.1 percent.
Global markets have been in free fall since the beginning of the year on worries about the impact of a growth slowdown in China -- a key driver of world growth -- on other economies.
But Evan Lucas, a markets strategist in Melbourne with IG (LSE: IGG.L - news) , said: "A small floor is emerging in indices.
"Oil remains the biggest story in the current market. The supply issues are well documented, however, the part that is leading this second leg lower is Chinese demand, or lack of it."
Crude fell briefly below $30 a barrel in New York Tuesday for the first time since December 2003 but prices picked up after a private report showed US supplies eased last week.
However, the commodity remains under pressure from a supply glut, weak demand and a global slowdown -- especially in China -- while key producers in the OPEC cartel continue to pump at near record levels.
On Wednesday US benchmark West Texas Intermediate was up one percent and Brent gained 0.5 percent.
On currency markets the confident mood saw investors seek out higher-risk investments.
The crude-reliant Malaysian ringgit rose 0.7 percent against the dollar, while Australia's dollar was up 0.6 percent and the Indonesian rupiah gained 0.4 percent. South Korea's won gained 0.5 percent.
The greenback also rallied against the yen, having fallen more than two percent since the start of the year.
- Key figures at 0830 GMT -
Shanghai - Composite: DOWN 2.4 percent at 2,949.60 (close)
Hong Kong - Hang Seng: UP 1.1 percent at 19,934.88 (close)
Tokyo - Nikkei 225: UP 2.9 percent at 17,715.63 (close)
London - FTSE 100: UP 1.1 percent at 5,992.78
Euro/dollar: DOWN at $1.0825 from $1.0858
Dollar/yen: UP at 118.20 yen from 117.66 yen
New York - Dow: UP 0.7 percent at 16,516.22 (close)