aboutsummaryrefslogtreecommitdiffstats
path: root/python/trade_dataclasses.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/trade_dataclasses.py')
-rw-r--r--python/trade_dataclasses.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/trade_dataclasses.py b/python/trade_dataclasses.py
index 26149c32..d02b3914 100644
--- a/python/trade_dataclasses.py
+++ b/python/trade_dataclasses.py
@@ -652,7 +652,6 @@ class CDSDeal(
detach=self.orig_detach,
birth_date=None,
death_date=self.maturity,
- coupon=self.coupon,
security_desc=f"{self.security_desc} {self.orig_attach}-{self.orig_detach}",
)
@@ -1581,7 +1580,7 @@ class TrancheProduct(
def __post_init__(self):
if not any(
[
- self.birthdate,
+ self.birth_date,
self.death_date,
self.coupon,
self.security_desc,