frequency
financepy.utils.frequency
Types
FrequencyTypes
Enumeration of frequency types.
Members
ZERO = -1SIMPLE_INTEREST = 0ANNUAL = 1SEMI_ANNUAL = 2TRI_ANNUAL = 3QUARTERLY = 4MONTHLY = 12CONTINUOUS = 99Functions
annual_frequency
annual_frequency(
freq_type: FrequencyTypes,
) -> float
Return the number of payment periods per year for a given FrequencyType.
CONTINUOUS returns -1. ZERO returns 1 (to avoid division by zero).
Generated automatically from the FinancePy source code.
Do not edit this file manually.