This commit is contained in:
dsyoon
2023-05-06 02:09:48 +09:00
parent 9a70259365
commit ed3eb4a76f

View File

@@ -729,9 +729,8 @@ class Bithumb_minute(HTS):
check_buy_history = self.check_buy_history(order_log_df, min=60)
if isRealTime and not check_buy_history:
# 매수 조건
if max(bsLine['buy'][len(bsLine['buy']) - 2:]) > 100:
# 매수 조건
#stock = self.getStock(ticker, analyzed_day, day=30)
#if stock["slow_k"][len(stock['close'])-1] > 40:
# print (datetime.now().strftime('%Y-%m-%d %H:%M:%S'), ",", round(stock["slow_k"][len(stock['close'])-3],2), ",", round(stock["slow_k"][len(stock['close'])-2],2), ",", round(stock["slow_k"][len(stock['close'])-1], ))