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