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