diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/trade_dataclasses.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/python/trade_dataclasses.py b/python/trade_dataclasses.py index 7e12999a..aadec798 100644 --- a/python/trade_dataclasses.py +++ b/python/trade_dataclasses.py @@ -637,7 +637,11 @@ class CDSDeal( else: # cleared cds process obj["IDSource"] = "RED" - obj["ExecutionBroker"] = _citco_cp_cdea[obj["ExecutionBroker"]] + obj["ExecutionBroker"] = ( + _citco_cp_cdea[obj["ExecutionBroker"]] + if obj["ExecutionBroker"] != "BSEONY" + else "BSEONY" + ) # We need to query DB via accounts table here obj["ClearingAgent"] = "BOA_FC" obj["SecurityID"] = self.redcode @@ -1714,7 +1718,6 @@ _citco_cp_cdea = { "CSFBBO": "CS_CD", "CITINY": "CIT_CD", "BARCNY": "BAR_CD", - "BSEONY": "MS_CD", } |
