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

Can not update min_profit_percentage by double number (edit bot) #155

Open
quanso opened this issue May 4, 2023 · 1 comment
Open

Can not update min_profit_percentage by double number (edit bot) #155

quanso opened this issue May 4, 2023 · 1 comment

Comments

@quanso
Copy link

quanso commented May 4, 2023

Maybe it require Integer (via docs - edit bot) but when create bot min_profit_percentage have Number type

@quanso
Copy link
Author

quanso commented May 4, 2023

When I set min_profit_percentage = 1.3, it round down the double value 1.3 to the integer value 1.
When I set min_profit_percentage = 0.55, it round down the double value 0.55 to the integer value 0 and therefore it turn off the "minimum profit" option.

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