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.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/trade_dataclasses.py b/python/trade_dataclasses.py
index 4c74da50..e6dd0049 100644
--- a/python/trade_dataclasses.py
+++ b/python/trade_dataclasses.py
@@ -631,9 +631,8 @@ class CDSDeal(
obj["IDSource"] = "USERID"
obj["ExecutionBroker"] = _citco_cp_isda[obj["ExecutionBroker"]]
obj["ClearingAgent"] = obj["ExecutionBroker"]
- instrument = self.product
- instrument.citco_stage()
- obj["SecurityID"] = instrument.dealid
+ self.product.citco_stage()
+ obj["SecurityID"] = self.product.dealid
else:
# cleared cds process
obj["IDSource"] = "RED"