diff options
Diffstat (limited to 'python/markit')
| -rw-r--r-- | python/markit/import_quotes.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/python/markit/import_quotes.py b/python/markit/import_quotes.py index 560d683c..a9ea1204 100644 --- a/python/markit/import_quotes.py +++ b/python/markit/import_quotes.py @@ -94,9 +94,6 @@ def insert_cds(database, workdate): "ON CONFLICT DO NOTHING" tickers_found = set([]) - with database.cursor() as c: - c.execute("DELETE from cds_quotes where date=%s", (workdate,)) - database.commit() with open(os.path.join(os.environ['BASE_DIR'], "Tranche_data", "CDS", filename)) as fh: csvreader = csv.DictReader(fh) with database.cursor() as c: |
