MikaLendingBot: [BitFinex] ERR_RATE_LIMIT

Having some sort of error handling when there is an ERR_RATE_LIMIT coming from bitfinex would be good. Probably sleep and try again after x amount of time:

Traceback (most recent call last):
  File "lendingbot.py", line 76, in <module>
    analysis = MarketAnalysis(Config, api)
  File "/home/jcarlos/poloniexlendingbot/modules/MarketAnalysis.py", line 36, in __init__
    + str(cur_ex))
Exception: ERROR: You entered an incorrect currency: 'DSH' to analyse the market of, please check your settings. Error message: API Error 429: { "error": "ERR_RATE_LIMIT"}

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Comments: 25 (5 by maintainers)

Most upvoted comments

Same here.

They must have changed something during their DDoS attack.

I constantly get the ERR_RATE_LIMIT message for a couple of days now. Doesn’t go away even when the bot is running for hours/days.

I’ve tried the new version, and it looks good. There are still ERR_RATE_LIMIT errors, but just nine at the beginning, the limit is increased to no more than 1027. Looks like a solid fix! Thank you for your work!

@rnevet yes. Updated from scratch yesterday. These errors disappear when analysis currency is disable.