diff --git a/hts/BuySellChecker.py b/hts/BuySellChecker.py index 3aba99e..434f2c8 100644 --- a/hts/BuySellChecker.py +++ b/hts/BuySellChecker.py @@ -132,7 +132,7 @@ class BuySellChecker: if data['changeLine'][i - 1] <= data['baseLine'][i - 1] and data['baseLine'][i] < data['changeLine'][i]: changeLine_count = sum([1 if data['changeLine'][c] <= data['baseLine'][c] else 0 for c in range(i-30, i)]) - if changeLine_count >= 19 and data['slow_k'][i] < 70: + if changeLine_count >= 19: buy = min(data["open"][i], data["close"][i]) weight = 1 type = 1