tmval.Bond.last_coupon_t

Bond.last_coupon_t(t: float) → float[source]

Returns the time of the last coupon payment prior to time t.

Parameters

t (float) – The valuation time.

Returns

The time of the last coupon.

Return type

float