aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/collateral/__main__.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/python/collateral/__main__.py b/python/collateral/__main__.py
index fa12cf75..bd55f673 100644
--- a/python/collateral/__main__.py
+++ b/python/collateral/__main__.py
@@ -47,7 +47,7 @@ cp_dict = {
"isda_cps": ("citi", "baml_isda", "ms", "gs", "bnp", "cs"),
},
"Brinker": {"fcms": (), "isda_cps": ("ms", "gs")},
- "BowdSt": {"fcms": (), "isda_cps": ("ms", "bnp")},
+ "BowdSt": {"fcms": (), "isda_cps": ("ms", "bnp", "gs")},
}
@@ -97,9 +97,7 @@ for fund in ("Serenitas", "Brinker", "BowdSt"):
df = pd.concat(df, names=["fund", "broker", "strategy"]).reset_index()
df.strategy = df.strategy.str.replace("^(M_|SER_)?", "", 1)
-df["fund"] = df.fund.map(
- {"Serenitas": "SERCGMAST", "Brinker": "BRINKER", "BowdSt": "BOWDST"}
-)
+df["fund"] = df.fund.map(fund_mapping)
df = df[["date", "broker", "strategy", "Amount", "Currency", "fund"]]
conn = dbconn("dawndb")