This commit is contained in:
dsyoon
2023-04-27 23:55:24 +09:00
parent 9c1abb2e33
commit c41dfe0515

View File

@@ -703,7 +703,7 @@ class Bithumb_minute(HTS):
# 10분이 지난 미체결은 취소한다.
order_log_df = self.cancel_order(order_log_df, order_log_filename, min=10)
# 한번 매수 후 n분 이후 매수하기 위함
check_buy_history = self.check_buy_history(order_log_df, min=20)
check_buy_history = self.check_buy_history(order_log_df, min=60)
if isRealTime and not check_buy_history:
# 매수 조건
@@ -823,7 +823,7 @@ if __name__ == "__main__":
#size = len(data_daily)
#if data_daily['slow_k'] < 30:
try:
time.sleep(20)
time.sleep(30)
bithumb.buyRealTime(ticker, analyzed_day, isRealTime)
except:
continue