This commit is contained in:
dsyoon
2023-10-23 22:37:04 +09:00
parent 3a7107ab76
commit 46746b1007
2 changed files with 2 additions and 2 deletions

View File

@@ -493,7 +493,6 @@ class HTS:
self.cursor.execute('DELETE FROM hts WHERE CODE=? and ymd=? and hms=?', (stock_code, ymd, hms,))
self.cursor.execute("INSERT INTO hts (CODE, NAME, ymd, hms, close, open, high, low, volume) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?)", (stock_code, stock_name, ymd, hms, close, open, high, low, volume))
time.sleep(0.5)
self.conn.commit()
return