aboutsummaryrefslogtreecommitdiffstats
path: root/python/collateral/bnp.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/collateral/bnp.py')
-rw-r--r--python/collateral/bnp.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/collateral/bnp.py b/python/collateral/bnp.py
index 51067014..331a2187 100644
--- a/python/collateral/bnp.py
+++ b/python/collateral/bnp.py
@@ -3,10 +3,7 @@ import pandas as pd
from . import DAILY_DIR
-def download_files(count: int = 20):
- from exchange import ExchangeMessage
-
- em = ExchangeMessage()
+def download_files(em, count: int = 20):
emails = em.get_msgs(
path=["NYops", "Margin Calls BNP"],
count=count,