diff options
| -rw-r--r-- | python/process_queue.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/python/process_queue.py b/python/process_queue.py index f38d1f54..38c06f00 100644 --- a/python/process_queue.py +++ b/python/process_queue.py @@ -32,6 +32,7 @@ from typing import Tuple, Union from quantlib.time.api import pydate_from_qldate, UnitedStates, Days, Date from tabulate import tabulate from headers import get_headers, get_termination_headers +from collections import defaultdict def get_effective_date(d, swaption_type): @@ -776,7 +777,9 @@ def build_termination( if __name__ == "__main__": - client_name = {"SERCGMAST": "Serenitas", "BOWDST": "HEDGEMARK", "BRINKER": "LMCG"} + client_name = defaultdict("LMCG") + client_name["SERCGMAST"] = "Serenitas" + client_name["BOWDST"] = "HEDGEMARK" parser = argparse.ArgumentParser() parser.add_argument( "-n", "--no-upload", action="store_true", help="do not upload to Globeop" |
