init
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user