aboutsummaryrefslogtreecommitdiffstats
path: root/python/report_ops/sma.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/report_ops/sma.py')
-rw-r--r--python/report_ops/sma.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/python/report_ops/sma.py b/python/report_ops/sma.py
index cc720071..2cd2d766 100644
--- a/python/report_ops/sma.py
+++ b/python/report_ops/sma.py
@@ -387,16 +387,14 @@ class IRSPosition(PositionReport, asset_class="irs"):
rename_keys(
d,
{
- "trade_date": "start_date",
- "effectivedate": "effective_date",
- "pv": "mtm_valuation",
"maturity_date": "maturity",
"float_index": "identifier",
- "swap_type": "description",
- "payreceive": "buysell",
"cash_account": "account",
"clearing_facility": "clearing_house",
},
)
+ d["dealid"] = "COMPRESSED"
+ d["buysell"] = "Pay"
+ d["cp_code"] = _fund_fcm[fund]
d["primebroker"] = _fund_fcm[fund]
return cls.from_dict(**d)