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.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/python/collateral/bnp.py b/python/collateral/bnp.py
index a89dc19c..39f7e72a 100644
--- a/python/collateral/bnp.py
+++ b/python/collateral/bnp.py
@@ -23,9 +23,12 @@ def download_files(em, count: int = 20, *, fund="Serenitas", **kwargs):
def load_file(d: datetime.date, report_type: str, fund: str):
+ fund_mapping = {
+ "Serenitas": "SERENITAS CREDIT GAMMA MASTER FUND, LP",
+ "BowdSt": "BOSTON PATRIOT BOWDOIN ST LLC",
+ }
fname = (
- f"{report_type} - BNP PARIBAS - SERENITAS CREDIT GAMMA "
- f"MASTER FUND, LP - COB {d:%Y%m%d}.XLS"
+ f"{report_type} - BNP PARIBAS - {fund_mapping[fund]} " f"- COB {d:%Y%m%d}.XLS"
)
return pd.read_excel(DAILY_DIR / fund / "BNP_reports" / fname, skiprows=7)