aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/headers.py20
-rw-r--r--python/trade_dataclasses.py2
2 files changed, 11 insertions, 11 deletions
diff --git a/python/headers.py b/python/headers.py
index e6c94d3a..09ede5f4 100644
--- a/python/headers.py
+++ b/python/headers.py
@@ -825,29 +825,29 @@ MTM_HEADERS = {
"DTCC Remaining CounterParty ID",
],
DealType.TRS: [
- "Swap ID ",
+ "Swap ID",
"Allocation ID",
"Description ",
- "Broker Id ",
+ "Broker Id",
"DTCC CounterParty ID",
- "Trade ID ",
- "Trade Date ",
+ "Trade ID",
+ "Trade Date",
"Effective Date",
"Settle Date",
- "Maturity Date ",
- "Account Abbreviation ",
+ "Maturity Date",
+ "Account Abbreviation",
"1st Leg Notional",
- "Currency Code ",
+ "Currency Code",
"Initial Payment",
"Initial Payment Currency",
"Original Issue Date",
"Interest Payment Method Description",
- "Product Type ",
+ "Product Type",
"Product Sub Type",
- "Transaction Type ",
+ "Transaction Type",
"Protection",
"Transaction Code",
- "Remaining Party ",
+ "Remaining Party",
"DTCC Remaining CounterParty ID",
"Independent Amount (%)",
"Independent Amount ($)",
diff --git a/python/trade_dataclasses.py b/python/trade_dataclasses.py
index 45fb7f79..2aaa4ba0 100644
--- a/python/trade_dataclasses.py
+++ b/python/trade_dataclasses.py
@@ -934,7 +934,7 @@ class TRSDeal(
portfolio: str = field(metadata={"globeop": "Portfolio"})
folder: str = field(metadata={"globeop": "Folder"})
cash_account: str = field(metadata={"globeop": "Cash Account"})
- cp_code: str = field(metadata={"globeop": "Counterparty"})
+ cp_code: str = field(metadata={"globeop": "Counterparty", "mtm": "Broker Id"})
trade_date: datetime.date = field(
metadata={"globeop": "Trade Date", "mtm": "Trade Date"}
)