aboutsummaryrefslogtreecommitdiffstats
path: root/python/collateral
diff options
context:
space:
mode:
Diffstat (limited to 'python/collateral')
-rw-r--r--python/collateral/__main__.py1
-rw-r--r--python/collateral/cs.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/python/collateral/__main__.py b/python/collateral/__main__.py
index 36d424ba..2e33c6bc 100644
--- a/python/collateral/__main__.py
+++ b/python/collateral/__main__.py
@@ -42,6 +42,7 @@ dawn_trades = get_dawn_trades(args.workdate, dawn_engine)
df = {}
mapping = {"baml_fcm": "BAML", "wells": "WF"}
args.workdate -= BDay()
+counterparties.pop() # remove cs
for cp in counterparties:
cp_mod = import_module("." + cp, "collateral")
if cp in ["baml_fcm", "wells"]:
diff --git a/python/collateral/cs.py b/python/collateral/cs.py
index b2d5c959..ebb06a27 100644
--- a/python/collateral/cs.py
+++ b/python/collateral/cs.py
@@ -7,7 +7,7 @@ def download_files(count=20):
em = ExchangeMessage()
emails = em.get_msgs(
- path=["NYops", "Margin calls CS"], count=count, subject__contains="Margin"
+ path=["NYops", "Margin Calls CS"], count=count, subject__contains="Margin"
)
DATA_DIR = DAILY_DIR / "CS_reports"
for msg in emails: