aboutsummaryrefslogtreecommitdiffstats
path: root/python/Dawn
diff options
context:
space:
mode:
Diffstat (limited to 'python/Dawn')
-rw-r--r--python/Dawn/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/Dawn/views.py b/python/Dawn/views.py
index d204ef8a..91ec2cc2 100644
--- a/python/Dawn/views.py
+++ b/python/Dawn/views.py
@@ -224,7 +224,7 @@ def get_bbg_id():
db = get_db()
with db.cursor() as c:
print(indextype, series)
- c.execute(sqlstr1, (indextype, series, datetime.datetime(2015,10, 25).date()))
+ c.execute(sqlstr1, (indextype, series, pd.datetime.today().date()))
(redcode,) = c.fetchone()
c.execute(sqlstr2, (indextype, series, tenor))
maturity, coupon = c.fetchone()