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
-rw-r--r--python/report_ops/misc.py1
2 files changed, 3 insertions, 2 deletions
diff --git a/python/report_ops/custodians.py b/python/report_ops/custodians.py
index e225bb4d..f6ef4c6c 100644
--- a/python/report_ops/custodians.py
+++ b/python/report_ops/custodians.py
@@ -36,7 +36,7 @@ def upload_to_custodian(account, trade_date, upload, em):
]
):
old_trade = BondDeal.from_dict(
- row._asdict() | old_row._asdict(), scaled=True
+ **(row._asdict() | old_row._asdict()), scaled=True
)
custodian.push_trade(old_trade, "CANCEL")
d.execute(
@@ -50,7 +50,7 @@ def upload_to_custodian(account, trade_date, upload, em):
)
else:
continue
- trade = BondDeal.from_dict(row._asdict(), scaled=True)
+ trade = BondDeal.from_dict(**row._asdict(), scaled=True)
custodian.push_trade(trade, "NEW")
if not custodian.staging_queue:
return
diff --git a/python/report_ops/misc.py b/python/report_ops/misc.py
index da7d61ac..6449a45c 100644
--- a/python/report_ops/misc.py
+++ b/python/report_ops/misc.py
@@ -46,6 +46,7 @@ _cc_recipients = {
"BOWDST": ("bowdoin-ops@lmcg.com",),
"SERCGMAST": ("nyops@lmcg.com",),
"BRINKER": ("nyops@lmcg.com",),
+ "SERCGMAST": ("nyops@lmcg.com",),
}