tmval.apy¶
-
tmval.conversions.
apy
(im: float, m: float) → float[source]¶ An alias for
effective_from_nominal()
. Returns annual percentage yield, or annual effective yield (APY), given a nominal rate of interest and compounding frequency.- Parameters
im (float) – the nominal rate of interest
m (float) – the compounding frequency, i.e., compounded m times per year
- Returns
the annual percentage yield, or annual effective yield (APY)
- Return type
float