This commit is contained in:
dsyoon
2023-02-02 09:03:41 +09:00
parent b37d0b596e
commit dea3fc7ad5

View File

@@ -85,8 +85,8 @@ class HTS_Stocks (HTS):
def getCompanyInfo(self):
self.cursor.execute('SELECT distinct code, name FROM stock order by code')
all_stocks = self.cursor.fetchall()
self.cursor_stock.execute('SELECT distinct code, name FROM stock order by code')
all_stocks = self.cursor_stock.fetchall()
valid_company = set()
self.cursor_stock.execute('select CODE, NAME, max(ymd) as ymd from fnguide where type != "E" group by 1 order by total_assets desc')