init
This commit is contained in:
@@ -729,9 +729,8 @@ class Bithumb_minute(HTS):
|
|||||||
check_buy_history = self.check_buy_history(order_log_df, min=60)
|
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:
|
||||||
# 매수 조건
|
|
||||||
if max(bsLine['buy'][len(bsLine['buy']) - 2:]) > 100:
|
|
||||||
|
|
||||||
|
# 매수 조건
|
||||||
#stock = self.getStock(ticker, analyzed_day, day=30)
|
#stock = self.getStock(ticker, analyzed_day, day=30)
|
||||||
#if stock["slow_k"][len(stock['close'])-1] > 40:
|
#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], ))
|
# 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], ))
|
||||||
|
|||||||
Reference in New Issue
Block a user