aboutsummaryrefslogtreecommitdiffstats
path: root/python/external_deriv_marks.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/external_deriv_marks.py')
-rw-r--r--python/external_deriv_marks.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/external_deriv_marks.py b/python/external_deriv_marks.py
index e3c80dea..6cbe1b26 100644
--- a/python/external_deriv_marks.py
+++ b/python/external_deriv_marks.py
@@ -112,11 +112,11 @@ def citi_navs(date: datetime.date = None, **kwargs):
def baml_navs(date: datetime.date = None, fund: str = "Serenitas"):
- date = next_business_day(date)
dfs = []
- glob_str = f"{date:%m%d%Y}" if date else "*"
+ glob_str = f"{next_business_day(date):%m%d%Y}" if date else "*"
+ tag = "SLP" if fund == "Serenitas" else "LLC"
for fname in (DAILY_DIR / fund / "BoA_reports").glob(
- f"301__LMCG_INVESTMENTSLP_CSA_{glob_str}_*.xls"
+ f"301__LMCG_INVESTMENT{tag}_CSA_{glob_str}_*.xls"
):
df = load_excel(fname)
df = df.set_index(["Market Value Date", "Trade ID"])