From 87d058ead48ab8e1ca7ec0fa8b97830ce9982384 Mon Sep 17 00:00:00 2001 From: dosangyoon Date: Fri, 29 Jul 2022 17:00:41 +0900 Subject: [PATCH] init --- hts/HTS.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hts/HTS.py b/hts/HTS.py index 2af5b51..9118a68 100644 --- a/hts/HTS.py +++ b/hts/HTS.py @@ -551,7 +551,7 @@ class HTS: conn = sqlite3.connect(os.path.join(self.RESOURCE_PATH, "hts.db")) cursor = conn.cursor() - cursor.execute('SELECT ymd, hms, open, high, low, close, vol FROM ' + tableName + ' WHERE CODE=? and ymd=? order by ymd, hms', (stock_code, lastday,)) + cursor.execute('SELECT ymd, hms, open, high, low, close, volume FROM ' + tableName + ' WHERE CODE=? and ymd=? order by ymd, hms', (stock_code, lastday,)) db_result = cursor.fetchall() for rows in db_result: ymd = rows[0] # hts.날짜