aboutsummaryrefslogtreecommitdiffstats
path: root/python/report_ops
diff options
context:
space:
mode:
Diffstat (limited to 'python/report_ops')
-rw-r--r--python/report_ops/custodians.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/report_ops/custodians.py b/python/report_ops/custodians.py
index 587ef6a0..f3930909 100644
--- a/python/report_ops/custodians.py
+++ b/python/report_ops/custodians.py
@@ -25,7 +25,7 @@ def upload_to_custodian(account, trade_date, conn, upload):
_sql,
(
trade_date,
- account,
+ "BAC" if account == "UMB" else account,
),
)
tids = tuple(row.allocationid for row in c)
@@ -38,7 +38,7 @@ def upload_to_custodian(account, trade_date, conn, upload):
case "BBH":
custodian.staging_queue.append(trade.to_bbh("NEW"))
case "UMB":
- custodian.staging_queue.append(trade.to_umb("NEW"))
+ custodian.staging_queue.append(trade.to_globeop("NEW"))
buf, dest = custodian.build_buffer("bond")
custodian.staging_queue.clear()
conn.commit()