tmval.Bond.get_coupon_amt

Bond.get_coupon_amt() → Union[float, list][source]

Calculates the coupon amount, or a list of coupon amounts and time periods in which they are applicable if they are not level. In the case of non-level coupons, the list takes the form of [(x1, y1), (x2, y2), …] Where the x values represent the coupon amounts and the y values represent the lower bound of the interval in which the coupon amount is applicable. For example, [(50, 0), (60, 2)] means that coupon payments of 50 happen in the first two periods and coupon payments of 60 happen afterwards.

Returns

A coupon amount, or list of coupon amounts.

Return type

float or list