aboutsummaryrefslogtreecommitdiffstats
path: root/python/report_ops
diff options
context:
space:
mode:
Diffstat (limited to 'python/report_ops')
-rw-r--r--python/report_ops/sma.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/report_ops/sma.py b/python/report_ops/sma.py
index 764c4a00..22b8d651 100644
--- a/python/report_ops/sma.py
+++ b/python/report_ops/sma.py
@@ -313,7 +313,7 @@ class TranchePosition(PositionReport, asset_class="tranche"):
},
)
d["primebroker"] = "Bilateral"
- d["buysell"] = d["protection"] == "Buyer"
+ d["buysell"] = d["protection"] == "Buy"
return cls.from_dict(**d)