Compute the yield spread Spread = y_bond − y_bench between a bond yield and a benchmark yield for relative value and credit risk assessment.
輸入債券收益率與基準收益率,求利差。