aboutsummaryrefslogtreecommitdiffstats
path: root/python/reto.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/reto.py')
-rw-r--r--python/reto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/reto.py b/python/reto.py
index bb3b37df..1fe6d847 100644
--- a/python/reto.py
+++ b/python/reto.py
@@ -132,7 +132,7 @@ def save_jtd(conn, date, df, fund):
)
conn.commit()
c.executemany(
- "INSERT INTO jtd_risks(date, fund, company_id, name, 1yr_spread, 3yr_spread, 5yr_spread, jtd) "
+ """INSERT INTO jtd_risks(date, fund, company_id, name, "1yr_spread", "3yr_spread", "5yr_spread", jtd) """
"VALUES (%s, %s, %s, %s, %s, %s, %s, %s)",
[(date, fund, *t) for t in df.itertuples(index=False)],
)