By I Made Sentana

JAKARTA--Indonesia continued to book a healthy trade surplus in October thanks to a rebound in commodity prices, official data showed Tuesday.

The official Central Statistics Agency said the trade surplus was $1.21 billion in October, relatively steady compared with $1.22 billion a month earlier.

The median forecast of 10 economists polled by the Wall Street Journal had been for a $1.03 billion surplus last month.

The statistics agency said exports rose 4.6% from a year ago, and 0.9% from a month earlier, to $12.68 billion on higher coal, rubber, and crude palm-oil prices.

Imports came in at $11.47 billion, rising 3.3% from a year earlier and 1.6% from September, the agency said. The increase was mainly driven by machinery and electrical appliance inward shipment, which rose 6.3% from a month earlier.

A healthy trade surplus will likely help keep Indonesia's current-account deficit at a sustainable level, supporting the rupiah before a possible U.S. Federal Reserve rate increase next month and at a time of global uncertainty after the victory of U.S. President-elect Donald Trump.

Write to I Made Sentana at i-made.sentana@wsj.com

(END) Dow Jones Newswires

November 15, 2016 00:00 ET (05:00 GMT)

Copyright (c) 2016 Dow Jones & Company, Inc.