init
This commit is contained in:
@@ -583,15 +583,15 @@ class Bithumb_minute(HTS):
|
|||||||
price = self.MAX_BUY_PRICE
|
price = self.MAX_BUY_PRICE
|
||||||
first_digit = int(price / 100)
|
first_digit = int(price / 100)
|
||||||
if first_digit < 3:
|
if first_digit < 3:
|
||||||
price = 20000
|
price = 50000
|
||||||
elif 3 <= first_digit < 4:
|
elif 3 <= first_digit < 4:
|
||||||
price = 15000
|
price = 30000
|
||||||
elif 4 <= first_digit < 5:
|
elif 4 <= first_digit < 5:
|
||||||
price = 10000
|
price = 15000
|
||||||
elif 5 <= first_digit < 6:
|
elif 5 <= first_digit < 6:
|
||||||
price = 7000
|
price = 7000
|
||||||
elif 6 <= first_digit:
|
elif 6 <= first_digit:
|
||||||
price = 5000
|
price = 3000
|
||||||
return price
|
return price
|
||||||
|
|
||||||
def buyRealTime(self, ticker, analyzed_day=120, isRealTime=False):
|
def buyRealTime(self, ticker, analyzed_day=120, isRealTime=False):
|
||||||
|
|||||||
Reference in New Issue
Block a user