FinancePy

FinancePy API Reference

frequency

financepy.utils.frequency

Types

FrequencyTypes

Enumeration of frequency types.

Members

ZERO = -1
SIMPLE_INTEREST = 0
ANNUAL = 1
SEMI_ANNUAL = 2
TRI_ANNUAL = 3
QUARTERLY = 4
MONTHLY = 12
CONTINUOUS = 99

Functions

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.