diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/load_indicative.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/load_indicative.py b/python/load_indicative.py index 7a7c26e4..50a7094d 100644 --- a/python/load_indicative.py +++ b/python/load_indicative.py @@ -47,7 +47,7 @@ def upload_cusip_data(conn, filename): for key in ['Curr Balance', 'Orig Balance', 'Orig Attachment Point', 'Curr Attachment Point (def at MV)', 'Orig Detachment Point', 'Curr Detachment Point (def at MV)', 'Factor', 'Coupon', - 'Floater Spread']: + 'Floater Spread/Margin']: if line[key]: line[key] = sanitize_float(line[key]) line[key] = convertToNone(line[key]) @@ -65,7 +65,7 @@ def upload_cusip_data(conn, filename): "%(Orig Balance)s, %(Curr Balance)s, %(Factor)s, %(Orig Moody)s, %(Curr Moody)s, " \ "%(Orig Attachment Point)s, %(Orig Detachment Point)s, "\ "%(Curr Attachment Point)s, %(Curr Detachment Point)s, " \ - "%(Floater Index)s, %(Floater Spread)s, %(updatedate)s)" + "%(Floater Index)s, %(Floater Spread/Margin)s, %(updatedate)s)" try: with conn.cursor() as c: c.execute(sqlstring, line) |
