Closed ghost closed 2 years ago
@NobbisCrypto Nice catch! I haven't used the bot with leverage before, so didn't pick up on this error. I've marked it as a bug to fix. Thanks!
I think you need to divide by the leverage factor config.LEVERAGE_CUSTOM_VALUE
in the function get_max_bot_usage
in Py3c_triggers.py
.
Example: Your BO is 10 and SO is 20 with 1x leverage. You want to use 3x leverage, hence you set it to 3 and increase the BO to 30 and the SO to 60. That triples the amount for bot usage in your calculation - if you devide it by 3 your back to normal.
Yeah, exactly that.
Hi,
When I'm using 1x leverage the calculated max bot usage is correct. When I set it to 3 it's wrong.
My settings:
3commas calculation:
Your calculation: