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

API rate limit errors could trigger infinite loop of restarts #36

Open
2 tasks
btschwertfeger opened this issue Jan 7, 2025 · 0 comments
Open
2 tasks
Assignees
Labels
bug Something isn't working
Milestone

Comments

@btschwertfeger
Copy link
Owner

btschwertfeger commented Jan 7, 2025

If the algorithm encounters an API rate limit error, the algorithm exits and restarts directly (if using the current docker-compose.yaml.

In order to encounter such situations we should:

  • reduce the number of requests, e.g. bei using batch orders for creation and cancel and leverage caching (if possible)
  • catch API rate limit errors, wait and retry (if appropriate) (kraken.exceptions.KrakenApiLimitExceededError?)
@btschwertfeger btschwertfeger added the bug Something isn't working label Jan 7, 2025
@btschwertfeger btschwertfeger added this to the Upcoming Release milestone Jan 7, 2025
@btschwertfeger btschwertfeger self-assigned this Jan 7, 2025
@btschwertfeger btschwertfeger changed the title API rate limit errors trigger infinite loop of restarts API rate limit errors could trigger infinite loop of restarts Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant