Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connecting telegramm bot to trade, but can't send correctly the command for reparse. how to do it properly? #262

Open
maxwell2010 opened this issue Jul 23, 2019 · 1 comment

Comments

@maxwell2010
Copy link

maxwell2010 commented Jul 23, 2019

I want to transfer data to opt

opt="--symbol IOTXBTC --loop 1 --quantity 0 --sellprice 0.00000071"

if name == 'main':

# Set parser
parser = argparse.ArgumentParser(opt)
@maxwell2010 maxwell2010 changed the title connecting cables the bot to trade, but can't send correctly the command for reparse. how to do it properly? connecting telegramm bot to trade, but can't send correctly the command for reparse. how to do it properly? Jul 23, 2019
@maxwell2010
Copy link
Author

maxwell2010 commented Jul 24, 2019

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 (

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant