This commit is contained in:
dsyoon
2025-08-24 17:31:32 +09:00
parent 4c5d9a2a11
commit 4ac03fd662

View File

@@ -509,7 +509,7 @@ class Monitor(HTS):
arr = cursor.fetchone() arr = cursor.fetchone()
if not arr: if not arr:
cursor.execute( cursor.execute(
"INSERT INTO {}_{} (CODE, NAME, ymdhms, ymd, hms, close, open, high, low, volume) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)".format(symbol, interval), "INSERT INTO {}_{} (CODE, NAME, ymdhms, ymd, hms, close, open, high, low, volume) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)".format(symbol, interval),
( (
symbol, symbol,
KR_COINS[symbol], KR_COINS[symbol],