This commit is contained in:
dsyoon
2022-05-25 14:40:01 +09:00
parent 74aaa33285
commit c60efbb1b0
2 changed files with 4 additions and 4 deletions

View File

@@ -211,9 +211,9 @@ class BuySellChecker:
if data["slow_k"][i-1] < data["slow_d"][i-1] and data["slow_d"][i] < data["slow_k"][i] and data["slow_k"][i-1] < data["slow_k"][i]:
buy = data["low"][i]
else:
if data["low"][i] < data["lower"][i]:
if data["slow_k"][i-1] < 50 and data["slow_k"][i] < 55:
if data["slow_k"][i-1] < data["slow_d"][i-1] and data["slow_k"][i] > data["slow_d"][i] and data["slow_k"][i-1] <= data["slow_k"][i]:
if data["low"][i] < data["lower"][i] + 5:
if data["slow_k"][i-1] < 30 and data["slow_k"][i] < 30:
if data["slow_k"][i-1] < data["slow_k"][i]:
buy = data["low"][i]
#############################

View File

@@ -549,7 +549,7 @@ class HTS_252670:
def buyRealTime(self, GIVEN_DAY):
orderChecker = OrderChecker(self.stock_code)
BASE_COUNT = 100
BASE_COUNT = 200
timecheckList = pd.read_csv("timecheck.csv").values.tolist()
timecheck = {GIVEN_DAY + " " + str(second).zfill(6):False for second, check in timecheckList}