Treasuries gained to wrap up a choppy week of war-driven swings, as easing tensions in the Middle East drove oil lower and prompted traders to boost wagers that the Federal Reserve will cut interest rates this year.