aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/cds_curve.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/cds_curve.py b/python/cds_curve.py
index c833ab0b..519c3bae 100644
--- a/python/cds_curve.py
+++ b/python/cds_curve.py
@@ -72,7 +72,7 @@ if __name__ == "__main__":
with conn.cursor() as c:
for t in df.itertuples():
c.execute("INSERT INTO index_risk2 VALUES(%s, %s, %s, %s) ON CONFLICT (id) "
- "DO UPDATE SET duration=%s, theta=%s, tweak=%s",
+ "DO UPDATE SET theta=%s, duration=%s, tweak=%s",
t + t[1:])
conn.commit()
conn.close()