diff options
Diffstat (limited to 'python/collateral/baml_fcm.py')
| -rw-r--r-- | python/collateral/baml_fcm.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/python/collateral/baml_fcm.py b/python/collateral/baml_fcm.py index 9ce7d8bd..0e82c1c7 100644 --- a/python/collateral/baml_fcm.py +++ b/python/collateral/baml_fcm.py @@ -15,11 +15,15 @@ def download_files(*args, fund="Serenitas", **kwargs): def load_csv(file_type, fund, d, **kwargs): + if fund == "Serenitas": + tag = "LMCG" + else: + tag = "Selene" return pd.read_csv( DAILY_DIR / fund / "BAML_reports" - / f"OTC_Open_Positions_-_{file_type}_-_LMCG_{d:%Y%m%d}.CSV", + / f"OTC_Open_Positions_-_{file_type}_-_{tag}_{d:%Y%m%d}.CSV", **kwargs, ) |
