Skip to content

Commit a9fc69e

Browse files
authored
Merge pull request #2 from CardoAI/feat/new-esma-choices
Added new ESMA choices
2 parents fbafae3 + 979b883 commit a9fc69e

File tree

2 files changed

+30
-4
lines changed

2 files changed

+30
-4
lines changed

python_utils/esma_choices.py

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,11 @@ class ESMACustomerTypeChoices(ChoiceEnum):
149149

150150
class ESMAAmortisationTypeChoices(ChoiceEnum):
151151
FRXX = 1, "French - i.e. Amortisation in which the total amount — principal plus interest — repaid in each " \
152-
"instalment is the same."
152+
"instalment is the same."
153153
DEXX = 2, "German - i.e. Amortisation in which the first instalment is interest-only and the remaining " \
154-
"instalments are constant, including capital amortisation and interest."
154+
"instalments are constant, including capital amortisation and interest."
155155
FIXE = 3, "Fixed amortisation schedule - i.e. Amortisation in which the principal amount repaid in each " \
156-
"instalment is the same."
156+
"instalment is the same."
157157
BLLT = 4, "Bullet - i.e. Amortisation in which the full principal amount is repaid in the last instalment."
158158
OTHR = 10, "Other"
159159

@@ -401,3 +401,29 @@ class PaymentFrequencyChoices(ChoiceEnum):
401401
SEMI = 5, "Semi Annual"
402402
YEAR = 6, "Annual"
403403
OTHR = 10, "Other"
404+
405+
406+
class SPVExtensionClauseChoices(ChoiceEnum):
407+
ISUR = 1, "SSPE only"
408+
NHLD = 2, "Noteholder"
409+
ISNH = 3, "Either SSPE or noteholder"
410+
NOPT = 4, "No option"
411+
412+
413+
class SPVLiabilitySettlementConventionChoice(ChoiceEnum):
414+
TONE = 1, "T Plus One"
415+
TTWO = 2, "T Plus Two"
416+
TTRE = 3, "T Plus Three"
417+
ASAP = 4, "As soon as possible"
418+
ENDC = 5, "At the end of Contract"
419+
MONT = 6, "End of Month"
420+
FUTU = 7, "Future"
421+
NXTD = 8, "Next Day"
422+
REGU = 9, "Regular"
423+
TFIV = 10, "T Plus Five"
424+
TFOR = 11, "T Plus Four"
425+
WHIF = 12, "When and if issued"
426+
WDIS = 13, "When Distributed"
427+
WISS = 14, "When Issued"
428+
WHID = 15, "When Issued or Distributed"
429+
OTHR = 16, "Other"

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = cardo-python-utils
3-
version = 0.2.2
3+
version = 0.2.3
44
description = Python library enhanced with a wide range of functions for different scenarios.
55
long_description = file: README.rst
66
url = https://github.com/CardoAI/cardo-python-utils

0 commit comments

Comments
 (0)