aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/csv_headers/__init__.py (renamed from python/headers/__init__.py)0
-rw-r--r--python/csv_headers/bond_upload.py (renamed from python/headers/bond_upload.py)0
-rw-r--r--python/csv_headers/citco.py (renamed from python/headers/citco.py)0
-rw-r--r--python/csv_headers/globeop_upload.py (renamed from python/headers/globeop_upload.py)0
-rw-r--r--python/csv_headers/irs.py136
-rw-r--r--python/csv_headers/mtm_upload.py (renamed from python/headers/mtm_upload.py)0
-rw-r--r--python/csv_headers/test.py136
7 files changed, 272 insertions, 0 deletions
diff --git a/python/headers/__init__.py b/python/csv_headers/__init__.py
index e69de29b..e69de29b 100644
--- a/python/headers/__init__.py
+++ b/python/csv_headers/__init__.py
diff --git a/python/headers/bond_upload.py b/python/csv_headers/bond_upload.py
index c6ca15f1..c6ca15f1 100644
--- a/python/headers/bond_upload.py
+++ b/python/csv_headers/bond_upload.py
diff --git a/python/headers/citco.py b/python/csv_headers/citco.py
index b836787b..b836787b 100644
--- a/python/headers/citco.py
+++ b/python/csv_headers/citco.py
diff --git a/python/headers/globeop_upload.py b/python/csv_headers/globeop_upload.py
index db5de036..db5de036 100644
--- a/python/headers/globeop_upload.py
+++ b/python/csv_headers/globeop_upload.py
diff --git a/python/csv_headers/irs.py b/python/csv_headers/irs.py
new file mode 100644
index 00000000..144d898c
--- /dev/null
+++ b/python/csv_headers/irs.py
@@ -0,0 +1,136 @@
+irs_new = [
+ "DealType",
+ "DealId",
+ "Action",
+ "Client",
+ "Fund",
+ "Portfolio/Business Unit",
+ "Strategy",
+ "Custodian",
+ "CashAccount",
+ "Counterparty",
+ "Comments",
+ "State",
+ "TradeDate",
+ "Reserved",
+ "Reserved",
+ "ReceiveLegRateType",
+ "ReceiveFloatRate",
+ "ReceiveFirstCouponDate",
+ "ReceiveFirstCouponRate",
+ "ReceiveFixedRate",
+ "ReceiveDaycount",
+ "ReceiveFrequency",
+ "RecievePaymentBDC",
+ "ReceiveEffectiveDate",
+ "ReceiveMaturityDate",
+ "ReceiveNotional",
+ "ReceiveResetArrears",
+ "Reserved",
+ "Reserved",
+ "ReceiveCurrency",
+ "Reserved",
+ "PayLegRateType",
+ "PayFloatRate",
+ "PayFirstCouponDate",
+ "PayFirstCouponRate",
+ "PayFixedRate",
+ "PayDaycount",
+ "PayFrequency",
+ "PayPaymentBDC[Previously PaymentRollConv]",
+ "PayEffectiveDate",
+ "PayMaturityDate",
+ "Pay Notional",
+ "PayResetArrears",
+ "Reserved",
+ "Reserved",
+ "PayCurrency",
+ "Reserved",
+ "InitialMargin",
+ "InitialMarginPercentage",
+ "InitialMarginCurrency",
+ "CalendarPay",
+ "CalendarReceive",
+ "Reserved",
+ "ReceiveSpread",
+ "ReceiveFixingFrequency",
+ "ReceiveInterestCalcMethod",
+ "Reserved",
+ "PaySpread",
+ "PayFixingFrequency",
+ "PayInterstCalcMethod",
+ "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",
+]
diff --git a/python/headers/mtm_upload.py b/python/csv_headers/mtm_upload.py
index d5619616..d5619616 100644
--- a/python/headers/mtm_upload.py
+++ b/python/csv_headers/mtm_upload.py
diff --git a/python/csv_headers/test.py b/python/csv_headers/test.py
new file mode 100644
index 00000000..e578fa77
--- /dev/null
+++ b/python/csv_headers/test.py
@@ -0,0 +1,136 @@
+mtm_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",
+]
+mtm_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",
+]