Source code for finpricing.utils.frequency
from enum import Enum
[docs]
class FrequencyTypes(Enum):
ANNUAL = 1
SEMI_ANNUAL = 2
QUARTERLY = 4
MONTHLY = 12
CONTINUOUS = 99
from enum import Enum
[docs]
class FrequencyTypes(Enum):
ANNUAL = 1
SEMI_ANNUAL = 2
QUARTERLY = 4
MONTHLY = 12
CONTINUOUS = 99