aboutsummaryrefslogtreecommitdiffstats
path: root/python/report_ops/headers.py
blob: ab48fd167a2c6eb210402235d1987fe09914d271 (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
POSITION_HEADERS = [
    "Client Name",
    "Fund Name",
    "Counterparty",
    "AccountNumber",
    "COB Date",
    "SecurityDescription",
    "Prime Broker",
    "Product Type",
    "Unique Deal ID",
    "TransactionIndicator (Buy/Sell)",
    "PutCall Indicator (Call/Put)",
    "CapFloorIndicator",
    "CurrencyPair",
    "DealCurrencyA",
    "DealCurrencyB",
    "NotionalA",
    "NotionalB",
    "OriginalPrice",
    "Strike",
    "FixedRate",
    "Quantity",
    "Start Date",
    "Effective Date",
    "Maturity Date",
    "Underlying Maturity",
    "RecPayFixed",
    "Underlying (ISIN / CUSP / RED CODES)",
    "Underlying Desc",
    "Exercise Type",
    "MTM Currency",
    "MTM Valuation",
    "MarketPrice",
    "COB Date",
    "Clearing House Name",
]


BOWDST_POSITION_HEADERS = [
    "Client Name",
    "Fund Name",
    "Counterparty",
    "Product Type",
    "Unique Deal ID",
    "TransactionIndicator (Buy/Sell)",
    "PutCall Indicator (Call/Put)",
    "CapFloorIndicator",
    "CurrencyPair",
    "DealCurrencyA",
    "DealCurrencyB",
    "NotionalA",
    "NotionalB",
    "OriginalPrice",
    "Strike",
    "FixedRate",
    "Quantity",
    "Start Date",
    "Effective Date",
    "Maturity Date",
    "Underlying Maturity",
    "RecPayFixed",
    "Underlying (ISIN / CUSP / RED CODES)",
    "Underlying Desc",
    "Exercise Type",
    "MTM Currency",
    "MTM Valuation",
    "COB Date",
    "Clearing House Name",
    "MarketPrice",
    "AccountNumber",
    "SecurityDescription",
    "Prime Broker",
]


def get_position_headers(fund):
    match fund:
        case "BOWDST":
            return BOWDST_POSITION_HEADERS

        case _:
            return POSITION_HEADERS