diff options
Diffstat (limited to 'python/book_bbg.py')
| -rw-r--r-- | python/book_bbg.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/book_bbg.py b/python/book_bbg.py index e850d260..33851193 100644 --- a/python/book_bbg.py +++ b/python/book_bbg.py @@ -9,7 +9,7 @@ def get_bbg_id(s): if m := re.match("(CDX|BOND)-[^_]*_([^$]*)", s): return m.groups() if "DEAL" in s: - return "SPOT", s.split("_")[3] + return "FXSWAP", s.split("_")[3] def run(): @@ -22,7 +22,6 @@ def run(): deal_type, bbg_id = get_bbg_id(f.filename) except TypeError: continue - print(BbgDeal._cache) if bbg_id not in BbgDeal._cache: with sftp.client.open(f.filename) as fh: Deal[DealType(deal_type)].process(fh, bbg_id) |
