tmval.Bond.acc_disc

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

Calculates the accumulation of discount in the last coupon prior to time t.

Parameters

t (float) – The valuation time.

Returns

The accumulation of discount.

Return type

float