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

IndexError('index 0 is out of bounds for axis 0 with size 0') after restart #794

Closed
demkoma20 opened this issue Apr 23, 2023 · 3 comments
Closed

Comments

@demkoma20
Copy link

I am using pycryptobot without Docker/Kubernetes, without Telegram. I copied it into folder, install modules and run via Ubuntu terminal.

I run few markets on Binance (ADAAUD, BTCBUSD, ETHEUR) into custom *.log files. Then market fell and I decided to re-run every market by doing this:

  1. Set up LIMIT order (all funds get locked so bot have nothing)
  2. Buy base assets (BUSD, EUR, AUD)
  3. Stop services in terminal (ctrl+c)
  4. Remove log files
  5. Run again all markets - There I got error

IndexError('index 0 is out of bounds for axis 0 with size 0')

But when I canceled the limit orders and tried to re-run, bot run successfully.

I tried to find files with order history but I didn't find them. Does anyone have a solution?

@whittlem
Copy link
Owner

There is another Issue related to this. This should be fixed in 8.0.7. Give it a go and let me know.

@demkoma20
Copy link
Author

demkoma20 commented Apr 26, 2023

I tried but I am still not able to start. Still the same error

@whittlem
Copy link
Owner

Are you sure you are using v8.0.7? I've had confirmation from others it's fixed. I'm not having the issue either. Can you provide your config.json, how you are running your bot, and anything else that may be useful to troubleshoot.

@whittlem whittlem closed this as completed May 1, 2023
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