aboutsummaryrefslogtreecommitdiffstats
path: root/python/csv_headers/bond_upload.py
blob: db1eb0666c36befb31d653b0bd524faf84197d2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
BBH_BONDS = [
    "Function of Instruction",
    "Client Reference Number",
    "Previous Reference Number",
    "Account Number",
    "Transaction Type",
    "Place of Settlement/Country",
    "Place of Safekeeping",
    "Trade Date",
    "Settlement Date",
    "Security ID",
    "Security Description",
    "Unit / Original Face Amount",
    "Currency",
    "Unit Price Amount",
    "Net Amount",
    "Trading Broker Type/ID",
    "Trading Broker Description",
    "Beneficiary of Securities Account",
    "Clearing Broker ID / Type",
    "Clearing Broker Description",
    "Clearing Agent Account",
    "Stamp Duty Code",
    "Stamp Duty Amount",
    "Special Settlement Type",
    "Special Indicator #1",
    "Special Indicator #2",
    "Registration Details",
    "Special Instruction",
    "Originator of Message",
    "Current Face/Amortize Value",
    "Principal Amount",
    "Interest Amount",
    "Other Fees Amount",
    "Commission Amount",
    "SEC Fees Amount",
    "Transaction Tax Amount",
    "Withholding Tax Amount",
    "Exchange Rate",
    "Resulting Currency",
    "Resulting Amount",
    "FX Currency",
    "Pool Reference Number",
    "Total Group Number",
    "Trade Number",
    "Repo Term Date (REPO only)",
    "Repo Amount (REPO only)",
    "Repo Reference Number (REPO only)",
    "Repo Rate (REPO Only)",
    "Ticker (CPF and CRF Only)",
    "Strike Price (CPF and CRF Only)",
    "Expiration Date (CPF and CRF Only)",
    "Broker Number (CPF and CRF Only)",
    "Broker Account (CPF and CRF Only)",
    "Contract Size (Option Contract and Future Contract Only)",
    "Place of Trade Narrative",
    "Common Reference",
    "Partial Settlement Allowed",
    "Partial Settlement Tolerance",
    "No Automatic Market Claim",
    "Corporate Action Coupon Option",
    "Triparty Collateral Segregation",
    "FX Cancel - For CANC instructions only",
    "Fund Accounting Only Trade (RPTO)",
    "Custody Only Trade (NACT)",
    "Research Fee (RSCH)",
]

bbh_swap = [
    "Deal Type",
    "Deal Id",
    "Action",
    "Client",
    "Fund",
    "Portfolio",
    "Folder",
    "Custodian",
    "Cash Account",
    "Counterparty",
    "Comments",
    "State",
    "Trade Date",
    "Reserved",
    "Reserved",
    "Reserved",
    "Notional",
    "PremiumSettlementDate",
    "ExpirationDate",
    "PremiumCurrency",
    "PercentageOfPremium",
    "ExerciseType",
    "Reserved",
    "SettlementMode",
    "SettlementRate",
    "Transaction Indicator",
    "InitialMargin",
    "InitialMarginPercentage",
    "InitialMarginCurrency",
    "ReceiveLegRateType",
    "ReceiveFloatRate",
    "ReceiveFirstCouponDate",
    "ReceiveFirstCouponRate",
    "ReceiveFixedRate",
    "ReceiveDaycount",
    "ReceiveFrequency",
    "ReceivePaymentRollConvention",
    "ReceiveEffectiveDate",
    "ReceiveMaturityDate",
    "ReceiveNotional",
    "ReceiveArrears",
    "ReceiveAdjusted",
    "ReceiveCompound",
    "ReceiveCurrency",
    "PayLegRateType",
    "PayFloatRate",
    "PayFirstCouponDate",
    "PayFirstCouponRate",
    "PayFixedRate",
    "PayDaycount",
    "PayFrequency",
    "PayPaymentRollConvention",
    "PayEffectiveDate",
    "PayMaturityDate",
    "PayNotional",
    "PayArrears",
    "PayAdjusted",
    "PayCompound",
    "PayCurrency",
    "RegenerateCashFlow",
    "GiveUpBroker",
    "ClientReference",
    "ReceiveDiscountCurve",
    "ReceiveForwardCurve",
    "PayDiscountCurve",
    "PayForwardCurve",
    "ReceiveFixingFrequency",
    "ReceiveInterestCalcMethod",
    "ReceiveCompoundAverageFrequency",
    "PayFixingFrequency",
    "PayInterestCalcMethod",
    "PayCompoundAverageFrequency",
    "SwapType",
    "AttachmentPoint",
    "ExhaustionPoint",
    "UnderlyingInstrument",
    "AssociatedDealType",
    "AssociatedDealId",
    "CounterpartyReference",
    "PremiumSettlementCurrency",
    "PremiumSettlementAmount",
    "ReceiveIMM Period",
    "PayIMMPeriod",
    "Reserved",
    "ClearingFacility",
    "Strike",
    "CcpTradeRef",
    "BreakClauseFrequency",
    "BlockId",
    "BlockAmount",
    "Cross Currency Premium Payment",
    "Premium Payment Amount",
    "Netting Id",
    "BreakClauseDate",
]