aboutsummaryrefslogtreecommitdiffstats
path: root/python/bbg_prices.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/bbg_prices.py')
-rw-r--r--python/bbg_prices.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/bbg_prices.py b/python/bbg_prices.py
index 2ce03894..f44ee0e6 100644
--- a/python/bbg_prices.py
+++ b/python/bbg_prices.py
@@ -30,6 +30,7 @@ with conn.cursor() as c:
"default_date = %(DEFAULT_DATE)s, called= %(CALLED)s, called_date = %(CALLED_DT)s, " \
"status = %(LN_ISSUE_STATUS)s WHERE id_bb_unique=%(ID_BB_UNIQUE)s",
df.to_dict('records'))
+conn.commit()
currentdata = pd.read_sql_query("SELECT id_bb_unique, pricingdate from bloomberg_corp",
engine,