aboutsummaryrefslogtreecommitdiffstats
path: root/python/collateral/citi.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/collateral/citi.py')
-rw-r--r--python/collateral/citi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/collateral/citi.py b/python/collateral/citi.py
index 18a54a33..b1d51eb0 100644
--- a/python/collateral/citi.py
+++ b/python/collateral/citi.py
@@ -114,7 +114,7 @@ def collateral(d, dawn_trades, *args):
if not missing_ids.empty:
raise ValueError(f"{missing_ids.tolist()} not in the database")
df = df.groupby("folder").sum()
- df = df.sum(axis=1).to_frame(name="Amount")
+ df = df[["Market Value", "BasicAmt"]].sum(axis=1).to_frame(name="Amount")
df["Currency"] = "USD"
df = df.reset_index()
df.columns = ["Strategy", "Amount", "Currency"]