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

ZeroDivisionError #5

Open
Squaldo opened this issue Jul 31, 2023 · 0 comments
Open

ZeroDivisionError #5

Squaldo opened this issue Jul 31, 2023 · 0 comments

Comments

@Squaldo
Copy link

Squaldo commented Jul 31, 2023

wat is wrong when i get this error?
Traceback (most recent call last):
File "bot.py", line 429, in
profit = 100 - ((float(available_balance) - float(realised_pnl)) * 100 / float(available_balance))
ZeroDivisionError: float division by zero

i als noticed that trade sizes are 0:
What Asset To trade? xrp
Min lot size for XRPUSDT is: 1
Max leverage is: 75
1x size: 0.0
0.1x is: 0.0
0.01x: 0.0

Maybe an api problem?

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