aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/markit/import_quotes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/markit/import_quotes.py b/python/markit/import_quotes.py
index 0a8f108e..2b7ef57c 100644
--- a/python/markit/import_quotes.py
+++ b/python/markit/import_quotes.py
@@ -19,7 +19,7 @@ def convert(x):
def get_index_list(database, workdate):
with database.cursor() as c:
c.execute("SELECT distinct index, series FROM index_maturity " \
- "WHERE issue_date IS NOT NULL and issue_date <= %s",
+ "WHERE issue_date IS NOT NULL and issue_date <= %s + 10",
(workdate,))
for index, series in c:
yield index + str(series)