This commit is contained in:
dsyoon
2023-10-16 12:26:52 +09:00
parent 149f3a45e2
commit 9459c98795
4 changed files with 10 additions and 7 deletions

View File

@@ -415,7 +415,8 @@ class BuySellChecker:
last_index = size - 1
buy, buy_weight = self.getBuyPriceAndWeight(stock_code, last_index, data)
sell, sell_weight = self.getSellPriceAndWeight(stock_code, last_index, data)
#sell, sell_weight = self.getSellPriceAndWeight(stock_code, last_index, data)
sell, sell_weight = -1, -1
if data.index[last_index].strftime('%H:%M:%S') > datetime.strptime(datetime.today().strftime("%Y-%m-%d 15:10:00"), "%Y-%m-%d %H:%M:%S").strftime('%H:%M:%S'):
buy, buy_weight = -1, -1