aboutsummaryrefslogtreecommitdiffstats
path: root/python/collateral
diff options
context:
space:
mode:
Diffstat (limited to 'python/collateral')
-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 55c583ac..dc50613d 100644
--- a/python/collateral/ms.py
+++ b/python/collateral/ms.py
@@ -78,7 +78,7 @@ def collateral(d, dawn_trades, *, fund="Serenitas", **kwargs):
df.loc[df.Strategy == "TCSH", "Amount"] -= fx_ia
except UnboundLocalError:
pass
- if "M_CSH_CASH" not in df.Series.array:
+ if "M_CSH_CASH" not in df.Strategy.array:
df.loc[len(df.index)] = ["M_CSH_CASH", -collat - df.Amount.sum(), "USD"]
else:
df.loc[df.Strategy == "M_CSH_CASH", "Amount"] -= collat + df.Amount.sum()