tmval.Rate.acc_func

Rate.acc_func(t)[source]

A Callable intended to be used by the Accumulation class when the parent Rate object is passed to it. This allows an Accumulation object to be declared by passing a Rate object to it.

Parameters

t (float) – The valuation time, in years.

Returns

The value of 1 invested at time 0, at time t.

Return type

float