aboutsummaryrefslogtreecommitdiffstats
path: root/python/headers.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/headers.py')
-rw-r--r--python/headers.py303
1 files changed, 303 insertions, 0 deletions
diff --git a/python/headers.py b/python/headers.py
index b5057a22..09ede5f4 100644
--- a/python/headers.py
+++ b/python/headers.py
@@ -10,6 +10,8 @@ class DealType(Enum):
Spot = "SPOT"
FxSwap = "FXSWAP"
Fx = "FX"
+ TRS = "TRS"
+ IRS = "IRS"
HEADERS_PRE = [
@@ -454,6 +456,239 @@ HEADERS = {
"InitialMargin",
"InitialMarginCurrency",
],
+ "trs": HEADERS_PRE
+ + [
+ "Reserved",
+ "Reserved",
+ "ReceiveLegRateType",
+ "ReceiveUnderlyingType",
+ "ReceiveUnderlyingSecurity",
+ "ReceiveUnderlyingDescription",
+ "ReceiveFloatRate",
+ "ReceiveFirstCouponDate",
+ "ReceiveFirstCouponRate",
+ "ReceiveFixedRate",
+ "ReceiveDaycount",
+ "ReceiveFrequency",
+ "ReceivePaymentBDC",
+ "ReceiveEffectiveDate",
+ "ReceiveMaturityDate",
+ "ReceiveNotional",
+ "ReceivePrice",
+ "ReceiveArrears",
+ "Reserved",
+ "Reserved",
+ "ReceiveCurrency",
+ "Reserved",
+ "ReceiveSpread",
+ "PayLegRateType",
+ "PayUnderlyingType",
+ "PayUnderlyingSecurity",
+ "PayUnderlyingDescription",
+ "PayFloatRate",
+ "PayFirstCouponDate",
+ "PayFirstCouponRate",
+ "PayFixedRate",
+ "PayDaycount",
+ "PayFrequency",
+ "PayPaymentBDC",
+ "PayEffectiveDate",
+ "PayMaturityDate",
+ "PayNotional",
+ "PayPrice",
+ "PayArrears",
+ "Reserved",
+ "Reserved",
+ "PayCurrency",
+ "Reserved",
+ "PaySpread",
+ "Reserved",
+ "InitialMargin",
+ "InitialMarginPercent",
+ "InitialMarginCurrency",
+ "ClientReference",
+ "CcpTradeRef",
+ "BlockId",
+ "BlockAmount",
+ "Netting Id",
+ "ExchangeRate",
+ "ReceiveQuantity",
+ "PayQuantity",
+ "ReceiveAccrued",
+ "PayAccrued",
+ "ReceiveNotionalExchange",
+ "PayNotionalExchange",
+ "ReceiveResetLag",
+ "PayResetLag",
+ "Reserved",
+ "Reserved",
+ "Reserved",
+ "Reserved",
+ "ReceiveCalendar",
+ "PayCalendar",
+ "ReceiveInterestCalcMethod",
+ "PayInterestCalcMethod",
+ "ReceiveCompoundAverageFrequency",
+ "PayCompoundAverageFrequency",
+ "ReceiveFixingFrequency",
+ "PayFixingFrequency",
+ "ReceiveStubLocation",
+ "ReceiveBeginFloatRate1",
+ "ReceiveBeginFloatRate2",
+ "ReceiveEndFloatRate1",
+ "ReceiveEndFloatRate2",
+ "PayStubLocation",
+ "PayBeginFloatRate1",
+ "PayBeginFloatRate2",
+ "PayEndFloatRate1",
+ "PayEndFloatRate2",
+ "Fees",
+ "Fee Payment Dates",
+ "Fee Comments",
+ "ExecutionDateTimeStamp",
+ "FeeTypes",
+ "FeeCurrencies",
+ "ReceivePaymentAt",
+ "PayPaymentAt",
+ "SwapType",
+ "Reserved1",
+ "ReceiveAccrualBDC",
+ "PayAccrualBDC",
+ "ReceiveMaturityBDC",
+ "PayMaturityBDC",
+ "ReceiveRollConvention",
+ "PayRollConvention",
+ "ReceivePaymentLag",
+ "PayPaymentLag",
+ "ReceiveSettlementCurrency",
+ "PaySettlementCurrency",
+ "Collateralized",
+ "TradeDateFX",
+ ],
+ "irs": HEADERS_PRE
+ + [
+ "Reserved",
+ "Reserved",
+ "ReceiveLegRateType",
+ "ReceiveFloatRate",
+ "ReceiveFirstCouponDate",
+ "ReceiveFirstCouponRate",
+ "ReceiveFixedRate",
+ "ReceiveDaycount",
+ "ReceiveFrequency",
+ "ReceivePaymentBDC",
+ "ReceiveEffectiveDate",
+ "ReceiveMaturityDate",
+ "ReceiveNotional",
+ "ReceiveResetArrears",
+ "Reserved",
+ "Reserved",
+ "ReceiveCurrency",
+ "Reserved",
+ "PayLegRateType",
+ "PayFloatRate",
+ "PayFirstCouponDate",
+ "PayFirstCouponRate",
+ "PayFixedRate",
+ "PayDaycount",
+ "PayFrequency",
+ "PayPaymentBDC",
+ "PayEffectiveDate",
+ "PayMaturityDate",
+ "PayNotional",
+ "PayResetArrears",
+ "Reserved",
+ "Reserved",
+ "PayCurrency",
+ "Reserved",
+ "InitialMargin",
+ "InitialMarginPercentage",
+ "InitialMarginCurrency",
+ "CalendarPay",
+ "CalendarReceive",
+ "Reserved",
+ "ReceiveSpread",
+ "ReceiveFixingFrequency",
+ "ReceiveInterestCalcMethod",
+ "Reserved",
+ "PaySpread",
+ "PayFixingFrequency",
+ "PayInterestCalcMethod",
+ "Reserved",
+ "GiveUpCounterparty",
+ "ReceiveStubLocation",
+ "ReceiveBeginFloatRate1",
+ "ReceiveBeginFloatRate2",
+ "ReceiveEndFloatRate1",
+ "ReceiveEndFloatRate2",
+ "PayStubLocation",
+ "PayBeginFloatRate1",
+ "PayBeginFloatRate2",
+ "PayEndFloatRate1",
+ "PayEndFloatRate2",
+ "Reserved",
+ "Reserved",
+ "SwapType",
+ "Reserved",
+ "ClientReference",
+ "Reserved",
+ "Reserved",
+ "Reserved",
+ "Reserved",
+ "Reserved",
+ "Reserved",
+ "ReceiveResetLag",
+ "PayResetLag",
+ "ReceiveExchangeAmount",
+ "PayExchangeAmount",
+ "AssociatedDealType",
+ "AssociatedDealId",
+ "ClearingFacility",
+ "CcpTradeRef",
+ "BreakClauseFrequency",
+ "BlockId",
+ "BlockAmount",
+ "UpfrontFee",
+ "UpfrontFeePaydate",
+ "UpFrontFeeComments",
+ "UpfrontFeeCurrency ",
+ "Netting Id",
+ "BreakClauseDate",
+ "CashFlowStubType",
+ "IndexLevel",
+ "ExecutionDateTimeStamp",
+ "ReceivePaymentLag",
+ "PayPaymentLag",
+ "ReceiveRateMultiplier",
+ "PayRateMultiplier",
+ "ReceiveRateCap",
+ "PayRateCap",
+ "ReceiveRateFloor",
+ "PayRateFloor",
+ "ReceiveRollConvention",
+ "PayRollConvention",
+ "ReceiveAccrualBDC",
+ "PayAccrualBDC",
+ "ReceiveMaturityBDC",
+ "PayMaturityBDC",
+ "ReceivePaymentAt",
+ "PayPaymentAt",
+ "ReceiveClientMargin",
+ "PayClientMargin",
+ "Reserved1",
+ "ReceiveRateCutOff",
+ "PayRateCutOff",
+ "InflationLag",
+ "InflationReference",
+ "ReceiveSettlementCurrency",
+ "PaySettlementCurrency",
+ "CounterpartyReference",
+ "ReceiveInflationReference",
+ "PayInflationReference",
+ "Collateralized",
+ "InitialFXRate",
+ "TradeDateFX",
+ ],
}
MTM_HEADERS = {
@@ -589,6 +824,74 @@ MTM_HEADERS = {
"Remaining Party",
"DTCC Remaining CounterParty ID",
],
+ DealType.TRS: [
+ "Swap ID",
+ "Allocation ID",
+ "Description ",
+ "Broker Id",
+ "DTCC CounterParty ID",
+ "Trade ID",
+ "Trade Date",
+ "Effective Date",
+ "Settle Date",
+ "Maturity Date",
+ "Account Abbreviation",
+ "1st Leg Notional",
+ "Currency Code",
+ "Initial Payment",
+ "Initial Payment Currency",
+ "Original Issue Date",
+ "Interest Payment Method Description",
+ "Product Type",
+ "Product Sub Type",
+ "Transaction Type",
+ "Protection",
+ "Transaction Code",
+ "Remaining Party",
+ "DTCC Remaining CounterParty ID",
+ "Independent Amount (%)",
+ "Independent Amount ($)",
+ "RED",
+ "Issuer Name",
+ "Settlement Amount",
+ "Trader",
+ "Dealer Trade ID",
+ "Notes",
+ "Parent Transaction Code",
+ "Parent Trade Date",
+ "Parent Notional",
+ "Parent Currency Code",
+ "Parent Net Amount",
+ "Parent Effective Date",
+ "Parent First Payment Date",
+ "Parent Settle Date",
+ "ComplianceHubAction",
+ "DTCC Ineligible",
+ "Master Document Date",
+ "Master Document Type",
+ "Master Document Version",
+ "",
+ "",
+ "Annex Date",
+ "Supplement Date",
+ "Documentation Type",
+ "Calculation Agent Business Center",
+ "",
+ "Strategy",
+ "Electronic Consent Ineligible",
+ "External OMS ID",
+ "Traded Rate/Price",
+ "Independent Amount Currency",
+ "Independent Amount Payer",
+ "Trade Revision",
+ "Alternate Swap ID",
+ "Alternate Trade ID",
+ "Definitions Type",
+ "Initial Fixing Amount",
+ "2nd Leg Index",
+ "2nd Leg Spread",
+ "2nd Leg Initial Floating Rate",
+ ],
}