tmval.Bond.get_n_coupons

Bond.get_n_coupons() → int[source]

Calculates the number of coupons.

Returns

The number of coupons.

Return type

int