init
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user