aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/markit_tranche_quotes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/markit_tranche_quotes.py b/python/markit_tranche_quotes.py
index 9cd46621..febab2fd 100644
--- a/python/markit_tranche_quotes.py
+++ b/python/markit_tranche_quotes.py
@@ -100,7 +100,7 @@ for d in csv.DictReader(f, fieldnames=headers):
d['upfront_bid'], d.get('upfront_mid'), d['upfront_ask'],
d['spread_bid'], d.get('spread_mid'), d['spread_ask'],
d.get('indexrefprice'), d.get('indexrefspread'), d['delta'],
- d['contributor'], d['quote_id']))
+ d['contributor'][:4], d['quote_id']))
count += 1
serenitasdb.commit()
print(f"loaded {count} new quotes")