finpricing.utils.literal#

Module Contents#

Classes#

Literal

Literal constants

class finpricing.utils.literal.Literal[source]#

Bases: enum.Enum

Literal constants

ONE_BASIS_POINT = 0.0001#
ONE_PERCENT = 0.01#
ZERO = 0#
UNIT = 1#
ONE_HUNDRED = 100#
ONE_THOUSAND = 1000#
ONE_MILLION = 1000000#
ONE_BILLION = 1000000000#