aboutsummaryrefslogtreecommitdiffstats
path: root/python/mtm_status.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/mtm_status.py')
-rw-r--r--python/mtm_status.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/mtm_status.py b/python/mtm_status.py
index 7de80eea..35899940 100644
--- a/python/mtm_status.py
+++ b/python/mtm_status.py
@@ -66,7 +66,7 @@ def run(conn, date):
if (row.SwapType == "NEW") and cpty_id:
if row.BrokerId == "BNPBNY":
cpty_id = cpty_id.replace("BNPP", "19000")
- if row.ProductType == "CDISW":
+ if row.ProductType in ["CDISW", "SWO"]:
c.execute(
"UPDATE swaptions SET cpty_id = %s WHERE dealid = %s",
(