After weeks of turmoil in the markets, Deutsche Bank has provided some balm on concerns about its stability as a settlement with United States authorities looms.

The bank, Germany’s largest, said on Thursday that it had returned to a profit in the third quarter and was making progress in its efforts to turn around the business. Analysts expected a loss for the quarter.

In addition, Deutsche Bank, which also has big trading operations in New York and London, said that its capital position had improved, with its Tier 1 capital ratio edging up to 11.1 percent, from 10.8 percent.

As was the case with the big Wall Street banks, the quarterly results at Deutsche Bank were buoyed in part by improved trading revenue. But its gain was not as strong as many of its rivals’, as bond trading rose nearly 14 percent from the year-earlier quarter. Deutsche Bank has also been streamlining in the last year, cutting jobs, stripping away businesses and simplifying its structure.