German lender Deutsche Bank has today posted a loss in the second quarter as the bank undergoes a costly overhaul amid the coronavirus crisis. 

The quarterly snapshot of the company's performance showed improvement at the investment bank but it also reflected an increase in funds set aside to protect for potential loan losses as the pandemic takes its toll. 

The bank also offered a more optimistic revenue outlook for the year, with revenues now expected to be "essentially flat" rather than the "slightly lower" amount previously flagged. 

Deutsche is in the midst of a major overhaul after posting a string of annual losses over the past five years. 

Analysts expect a full year loss in 2020, and executives have warned that it will be difficult to repeat the bank's performance in the first six months of this year in the second half. 

Chief executive Christian Sewing, noting that the bank began its restructuring a full year ago, said in a memo to staff that "the fruits of all our labour are already starting to show". 

The bank already said last week that its results would be slightly better than analysts had expected, and the net loss attributable to shareholders of €77m in the quarter was narrower than the €3.3 billion loss a year earlier.  

Deutsche Bank said that it increased provisions for credit losses to €761m, up from €161m a year ago. 

Revenues at the investment bank provided cause for cheer, rising 46% in the quarter, and up by 39% in the important fixed income and currencies business. 

US investment banks also reported sharp trading gains mainly due to volatility created by the pandemic.