This commit is contained in:
dsyoon
2023-02-12 00:31:53 +09:00
parent 426ca43ff7
commit cb3ff550b5

View File

@@ -558,19 +558,6 @@ class StockStatus (HTS):
return
def getCompanyInfo(self):
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')
items = self.cursor_stock.fetchall()
for item in items:
valid_company.add(item[0])
return all_stocks, valid_company
def findCandidates(self, outPath):
dir_name = os.path.join(outPath, "99_daily_auto_trading")