Trading revenue for U.S. banks rose while trading risk declined in the fourth quarter (Q4) of 2016, according to a new report from the Office of the Comptroller of the Currency (OCC).

Specifically, U.S. banks’ trading revenue grew by 40% in Q4 to $6 billion (all figures in U.S. dollars) compared with the same quarter a year ago, driven largely by higher revenue from interest rate and foreign exchange trading.

“Trading in interest rate products benefited from significant market moves in interest rates during the quarter, including a rise in the U.S. Treasury rate over the course of the quarter,” the OCC’s report says.

At the same time, the regulator also reports that trading risk, as measured by value-at-risk (VaR), decreased in Q4. Specifically, total average VaR across the top five bank dealers decreased by 3.6% from the previous quarter to $264 million.

The OCC also reports that almost 39% of derivatives transactions were centrally cleared in Q4, up from 37% in the corresponding quarter in 2015.