diff options
Diffstat (limited to 'python/bbg_index_quotes.py')
| -rw-r--r-- | python/bbg_index_quotes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/bbg_index_quotes.py b/python/bbg_index_quotes.py index 6b9a3c0b..92e3d180 100644 --- a/python/bbg_index_quotes.py +++ b/python/bbg_index_quotes.py @@ -16,7 +16,7 @@ for series in range(10, 30): sql_str = (f"INSERT INTO bbg_index_quotes VALUES({','.join(['%s'] * 8)}) " "ON CONFLICT DO NOTHING") -start_date = datetime.date.today() - datetime.timedelta(days=7) ## one weeek of overlap +start_date = datetime.date.today() - datetime.timedelta(days=7) # one weeek of overlap conn = dbconn('serenitasdb') with init_bbg_session(BBG_IP) as session: d = retrieve_data(session, securities.keys(), fields=["TICKER", "VERSION"]) |
