aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/collateral_calc.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/collateral_calc.py b/python/collateral_calc.py
index bcad3172..07ed1bd8 100644
--- a/python/collateral_calc.py
+++ b/python/collateral_calc.py
@@ -46,7 +46,8 @@ def download_files(d=None,
def download_ms_emails():
- emails = get_msgs(path=["NYops"], subject_filter="SERCX **Daily")
+ emails = get_msgs(path=["NYops"], subject_filter="SERCX **Daily",
+ count=20)
DATA_DIR = DAILY_DIR / "MS_reports"
for msg in emails:
for attach in msg.attachments:
@@ -57,7 +58,8 @@ def download_ms_emails():
def download_gs_emails():
emails = get_msgs(path=["NYops", "Margin calls"],
- subject_filter="Regulatory VM Margin")
+ subject_filter="Regulatory VM Margin",
+ count=20)
DATA_DIR = DAILY_DIR / "GS_reports"
for msg in emails:
for attach in msg.attachments: