aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/ack_checker.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/ack_checker.py b/python/ack_checker.py
index 51b5180c..5f984dd5 100644
--- a/python/ack_checker.py
+++ b/python/ack_checker.py
@@ -79,6 +79,12 @@ def ack_check(date: datetime.date, conn):
"UPDATE trs SET globeop_id=%s WHERE id=%s",
(globeop_id, serenitas_id),
)
+ if dealtype == "InterestRateSwapDeal":
+ with conn.cursor() as c:
+ c.execute(
+ "UPDATE irs SET globeop_id=%s WHERE id=%s",
+ (globeop_id, serenitas_id),
+ )
elif action == "Failed":
logger.warning(f"{serenitas_id} ({action}): {globeop_id} ")
conn.commit()