Washington: Morgan Stanley reported a third-quarter profit, reversing a year-earlier loss, helped by a large accounting gain that stemmed from declines in the value of its debt.

File photo of Morgan Stanley headquarters in New York, US. Bloomberg.

Excluding a gain of $3.4 billion from debt valuation adjustment, Morgan Stanley earned 2 cents per share. When a bank’s debt weakens relative to US Treasuries, it can record an accounting gain because it could profit from buying back the debt.

Morgan Stanley shares were up 18 cents at $16.81 in premarket trading.

Revenue from its trading business more than doubled from a year earlier and climbed 24% from the second quarter. The sharp increases reflect the DVA gain.

Its wealth management group reported $3.26 billion in revenue, up 5% from a year ago but down from the second quarter.

Asset management revenue of $215 million fell 73% from the year-ago period and 67% from the second quarter due to losses on principal investments in its merchant banking and real estate investing business.