We introduce a framework that analyzes the interplay of credit risk and collateral market risk on loan pricing. That for, we decompose any loan in unsecured and secured part. We further consider explicitly the recovery process. The framework allows us to develop semi-analytical pricing formulas...