aboutsummaryrefslogtreecommitdiffstats
path: root/python/collateral/ms.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/collateral/ms.py')
-rw-r--r--python/collateral/ms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/collateral/ms.py b/python/collateral/ms.py
index 5d8886a7..bf9bddbf 100644
--- a/python/collateral/ms.py
+++ b/python/collateral/ms.py
@@ -47,7 +47,7 @@ def collateral(d, dawn_trades, *, fund="Serenitas", **kwargs):
df = df.merge(dawn_trades, how="left", left_on="trade_id", right_on="cpty_id")
missing_ids = df.loc[df.cpty_id.isnull(), "trade_id"]
if not missing_ids.empty:
- raise ValueError(f"{missing_ids.tolist()} not in the database")
+ raise ValueError(f"{missing_ids.tolist()} not in the database for {fund}")
df = df.groupby("folder")[["collat_req_in_agr_ccy"]].sum()
df["Currency"] = "USD"
df = df.reset_index()