init
This commit is contained in:
@@ -626,8 +626,6 @@ class Bithumb_minute(HTS):
|
|||||||
balance = tmp[2]
|
balance = tmp[2]
|
||||||
#count = round((balance * (bsLine['buy_weight'][len(bsLine['buy_weight']) - 1] / 100)) / bsLine['buy'][len(bsLine['buy']) - 1], 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 = 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)
|
order = self.bithumb.buy_limit_order(ticker, bsLine['buy'][len(bsLine['buy']) - 1], count)
|
||||||
|
|||||||
Reference in New Issue
Block a user