This commit is contained in:
dsyoon
2023-01-29 01:49:57 +09:00
parent 7a91d6ad88
commit 415be5c57b

View File

@@ -626,8 +626,6 @@ class Bithumb_minute(HTS):
balance = tmp[2]
#count = round((balance * (bsLine['buy_weight'][len(bsLine['buy_weight']) - 1] / 100)) / bsLine['buy'][len(bsLine['buy']) - 1], 2)
count = round(self.MAX_BUY_PRICE / bsLine['buy'][len(bsLine['buy']) - 1], 2)
count = 1
bsLine['buy'][len(bsLine['buy']) - 1] = 514
# 매수를 요청한다.
order = self.bithumb.buy_limit_order(ticker, bsLine['buy'][len(bsLine['buy']) - 1], count)