aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/trade_dataclasses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/trade_dataclasses.py b/python/trade_dataclasses.py
index ce71245d..a5aab9d8 100644
--- a/python/trade_dataclasses.py
+++ b/python/trade_dataclasses.py
@@ -432,7 +432,7 @@ class CDSDeal(
coupon, index, series, tenor = c.fetchone()
line["Security"] = desc_str(index, series, tenor.removesuffix("yr"))
line["Coupon"] = coupon
- cp_code = cls.get_cp_code(line["Brkr"], "CDX")
+ cp_code = cls.get_cp_code(line["Brkr"], "CDS")
cls._bbg_insert_queue.append(list(line.values()))
return cls(
fund=_funds[line["Account"]],