Open maxwell2010 opened 4 years ago
I think I got it. )
class option:
quantity = float(6656)
amount = float(0)
symbol = str('IOTXBTC')
profit = float(3)
stop_loss = float(0)
increasing = float(0.00000001)
decreasing = float(0.00000001)
# Manually defined --orderid try to sell
orderid = float(0)
wait_time = float(0.7)
test_mode = bool(False)
prints = bool(True)
debug = bool(False) # 'Debug True/False if set --debug flag, will output all messages every "--wait_time" ',action="store_true", default=False) # 0=True, 1=False
loop = int(1)
# Working Modes
# - profit: Profit Hunter. Find defined profit, buy and sell. (Ex: 1.3% profit)
# - range: Between target two price, buy and sell. (Ex: <= 0.00100 buy - >= 0.00150 sell )
mode = str('profit') # , default='profit')
buyprice = float(0)
sellprice = float(0.00000071)
commision = str('BNB')
t = Trading(option)
t.run()
but here's how to sell separately has not yet figured out (
I want to transfer data to opt
opt="--symbol IOTXBTC --loop 1 --quantity 0 --sellprice 0.00000071"
if name == 'main':