init
This commit is contained in:
@@ -23,11 +23,6 @@ class StockPriceDirectionAnalyzer:
|
||||
def get_all_stock_code(self):
|
||||
self.open()
|
||||
|
||||
|
||||
sql = "SELECT distinct code FROM stock"
|
||||
self.cursor.execute(sql)
|
||||
rows = self.cursor.fetchall()
|
||||
|
||||
sql = "SELECT distinct code, name FROM stock"
|
||||
self.cursor.execute(sql)
|
||||
rows = self.cursor.fetchall()
|
||||
|
||||
Reference in New Issue
Block a user