diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/trade_dataclasses.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/trade_dataclasses.py b/python/trade_dataclasses.py index 676aaa9e..39dfe597 100644 --- a/python/trade_dataclasses.py +++ b/python/trade_dataclasses.py @@ -592,7 +592,7 @@ class CDSDeal( ) (self.factor,) = c.fetchone() # do something better - tenor = self.security_desc.rsplit(" ", 1)[1].removesuffix("Y") + self.tenor = self.security_desc.rsplit(" ", 1)[1].removesuffix("Y") self.redcode = "_".join(self.security_id, self.tenor) def to_markit(self): |
