aboutsummaryrefslogtreecommitdiffstats
path: root/python/collateral/cs.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/collateral/cs.py')
-rw-r--r--python/collateral/cs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/collateral/cs.py b/python/collateral/cs.py
index 24bceb2f..5fe5865e 100644
--- a/python/collateral/cs.py
+++ b/python/collateral/cs.py
@@ -4,7 +4,7 @@ from pandas.tseries.offsets import BDay
from .common import load_pdf
-def download_files(em, count=20):
+def download_files(em, count=20, **kwargs):
DATA_DIR = DAILY_DIR / "CS_reports"
emails = em.get_msgs(
path=["NYops", "Margin Calls CS"], count=count, subject__contains="DERV048829"
@@ -55,7 +55,7 @@ def get_collateral(d):
return collat
-def collateral(d, dawn_trades, *args):
+def collateral(d, dawn_trades, **kwargs):
collateral = get_collateral(d + BDay())
df = pd.read_excel(
f"/home/serenitas/Daily/CS_reports/DERV048829_{d:%b%d%Y}.xlsx",