-
Notifications
You must be signed in to change notification settings - Fork 8
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
Kraken API rate limit exceeded #31
Comments
I've placed sleep() like this: def handle_dca_logic(self) -> None:
"""
Handle DCA logic.
:return: None
"""
# Check current system time.
current_date = self.get_system_time()
# Check Kraken account balance.
self.check_account_balance()
# Check if didn't already DCA today
if self.count_pair_daily_orders() != 0:
print(
f"No DCA for {self.pair.name}: Already placed an order "
f"today."
)
sleep(5)
return
print("Didn't DCA already today.")
sleep(5) I know that it's possible to implement rate limiting, it's just a workaround. Do you wan that I open a Pull Request with this or do you rather prefer to work on this on your own ? |
Hello @emze9 Sorry for the late reply, I take a look at it and came back to you as soon as possible. |
Hello @emze9 Can you provide me an anonymized version of your logs and/or orders so I can better understand the error, please? |
Hello @adocquin , I'll try to do this asap. |
Hi,
Thanks for your script, works very well !
I'm using your docker image and my config.yaml is composed of 11 pairs, at the eighth pair the script show me this error:
Kraken API rate limit exceeded. Waiting 10sc...
Then next time the script start again by the first pair and failed at the eight. So, my last pairs are never processed.
What do you think about adding a sleep() between each pairs ?
The text was updated successfully, but these errors were encountered: