average_rate#
- rateslib.curves.average_rate(effective, termination, convention, rate)#
Return the geometric, 1 calendar day, average rate for the rate in a period.
This is used for approximations usually in combination with floating periods.
- Parameters:
- Returns:
tuple
- Return type:
The rate, the 1-day DCF, and the number of calendar days