diff options
Diffstat (limited to 'python/markit/import_quotes.py')
| -rw-r--r-- | python/markit/import_quotes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/markit/import_quotes.py b/python/markit/import_quotes.py index a9ea1204..edcfce0b 100644 --- a/python/markit/import_quotes.py +++ b/python/markit/import_quotes.py @@ -49,8 +49,8 @@ def get_markit_bbg_mapping(database, basketid_list, workdate): all_tickers.add((line['markit_ticker'], line['markit_tier'])) key = (line['markit_ticker'], line['markit_tier'], line['currency'], doc_clause_mapping[line['doc_clause']], float(line['spread'])/10000) - if key==('CESEOP', 'SNRFOR', 'USD', 'XR14', 0.05): - key=('CESEOP', 'SNRFOR', 'USD', 'XR', 0.05) + if key == ('CESEOP', 'SNRFOR', 'USD', 'XR14', 0.05): + key = ('CESEOP', 'SNRFOR', 'USD', 'XR', 0.05) ## each markit ticker can be mapped to multiple bbg tickers ## these bbg tickers can have different curves (ok) ## or same curves (not ok since date, curve_ticker needs to be unique) |
