aboutsummaryrefslogtreecommitdiffstats
path: root/python/report_ops/headers.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/report_ops/headers.py')
-rw-r--r--python/report_ops/headers.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/python/report_ops/headers.py b/python/report_ops/headers.py
index b3c53175..07d02287 100644
--- a/python/report_ops/headers.py
+++ b/python/report_ops/headers.py
@@ -372,3 +372,13 @@ def get_position_headers(fund):
case _:
return POSITION_HEADERS
+
+
+def get_bny_headers(trade_type):
+ match trade_type:
+ case "repo":
+ return BNY_REPO_HEADER
+ case "cls":
+ return BNY_CLS_HEADER
+ case "bond" | "stock":
+ return BNY_SECURITY_HEADER