This commit is contained in:
dosangyoon
2021-10-16 01:26:27 +09:00
parent af5c22f9f5
commit 0283807f75
4 changed files with 56 additions and 58 deletions

View File

@@ -531,10 +531,10 @@ class HTS:
bsLine['sell'] = [-1 for i in range(size)]
i = size - 1
if i <= 20:
if i < 5:
return -1, -1, -1
buy, weight, sell = self.bs.getPriceAndWeight(data, i)
buy, weight, sell = self.bs.getPriceAndWeight1(data, i)
return buy, weight, sell
def getSellingPrice(self, final_price):