diff --git a/HTS_stocks.py b/HTS_stocks.py index 3ee56a7..dab4905 100644 --- a/HTS_stocks.py +++ b/HTS_stocks.py @@ -120,7 +120,7 @@ class HTS_Stocks (HTS): self.cursor_stock.execute('select CODE, NAME, max(ymd) as ymd from fnguide where type != "E" and sales > 0 group by 1 order by sales desc') items = self.cursor_stock.fetchall() for i, item in enumerate(items): - if i < 2000: + if i < 1000: valid_company[item[0]] = i return all_stocks, valid_company