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

limit usage of capital on every order #27

Open
THELORDMAXIM opened this issue Nov 22, 2021 · 2 comments
Open

limit usage of capital on every order #27

THELORDMAXIM opened this issue Nov 22, 2021 · 2 comments

Comments

@THELORDMAXIM
Copy link

its a recomendation, to use a limite capital on every order, so is not spending all the capital on the wallter to make every order, or at least to have the config to do it

@THELORDMAXIM
Copy link
Author

that will help us to open several instances of the bot, with other coins :)

@rockyrobinls29
Copy link

on line 119 of bot_functions.py:
qty = round(qty * 0.99,8)
You can change to for example:
qty = round(qty * 0.50,8)
This will trade only 50% of your asset.
Hope this helps someone! :)

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

2 participants