diff --git a/Bithumb_minute.py b/Bithumb_minute.py index 9bad3e1..4525959 100644 --- a/Bithumb_minute.py +++ b/Bithumb_minute.py @@ -47,7 +47,7 @@ class Bithumb_minute(HTS): self.bithumb = pybithumb.Bithumb(con_key, sec_key) self.binance = ccxt.binance() self.TODAY = today - self.MAX_BUY_PRICE = 5000 + self.MAX_BUY_PRICE = 10000 return def bull_market(self, df, ticker): @@ -537,7 +537,7 @@ class Bithumb_minute(HTS): order = (df['order0'][i], df['order1'][i], df['order2'][i], df['order3'][i]) cancel = self.bithumb.cancel_order(order) # slackbot에 메시지를 보냄 - self.slackBot.post_to_slack(ticker, self.stock_code[ticker], "CANCEL", -1, -1) + #self.slackBot.post_to_slack(ticker, self.stock_code[ticker], "CANCEL", -1, -1) for i in range(len(df)): log_df.loc[(log_df.index == df.index[i]), 'canceled'] = 1 @@ -617,7 +617,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=30) + check_buy_history = self.check_buy_history(order_log_df, min=60) if isRealTime and not check_buy_history: # 매수 조건