This commit is contained in:
dsyoon
2023-07-18 11:42:40 +09:00

View File

@@ -23,11 +23,6 @@ class StockPriceDirectionAnalyzer:
def get_all_stock_code(self): def get_all_stock_code(self):
self.open() self.open()
sql = "SELECT distinct code FROM stock"
self.cursor.execute(sql)
rows = self.cursor.fetchall()
sql = "SELECT distinct code, name FROM stock" sql = "SELECT distinct code, name FROM stock"
self.cursor.execute(sql) self.cursor.execute(sql)
rows = self.cursor.fetchall() rows = self.cursor.fetchall()