diff --git a/HTS_stocks.py b/HTS_stocks.py index 30a00a6..6cc6d5a 100644 --- a/HTS_stocks.py +++ b/HTS_stocks.py @@ -180,7 +180,7 @@ class HTS_Stocks (HTS): print("%5d: %8s, %-50s" % (idx, stock_code, stock_name)) slow_k_week, p_slow_k_week, slow_k_month, p_slow_k_month = self.getSlowK(stock_code) - if (slow_k_week < 0 or 50 < slow_k_week or slow_k_month < 0 or 50 < slow_k_month) or (slow_k_week < p_slow_k_week or slow_k_month < p_slow_k_month): + if (slow_k_week < 0 or 40 < slow_k_week or slow_k_month < 0 or 40 < slow_k_month) or (slow_k_week < p_slow_k_week or slow_k_month < p_slow_k_month): continue stock = self.stockStatus.fetchLastData(self.cursor_stock, stock_code, n)