init
This commit is contained in:
@@ -85,8 +85,8 @@ class HTS_Stocks (HTS):
|
|||||||
|
|
||||||
def getCompanyInfo(self):
|
def getCompanyInfo(self):
|
||||||
|
|
||||||
self.cursor.execute('SELECT distinct code, name FROM stock order by code')
|
self.cursor_stock.execute('SELECT distinct code, name FROM stock order by code')
|
||||||
all_stocks = self.cursor.fetchall()
|
all_stocks = self.cursor_stock.fetchall()
|
||||||
|
|
||||||
valid_company = set()
|
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')
|
self.cursor_stock.execute('select CODE, NAME, max(ymd) as ymd from fnguide where type != "E" group by 1 order by total_assets desc')
|
||||||
|
|||||||
Reference in New Issue
Block a user