BitBotFactory / MikaLendingBot

Automated lending on Cryptocurrency exchanges Poloniex and Bitfinex
http://poloniexlendingbot.readthedocs.io/en/latest/index.html
MIT License
1.11k stars 344 forks source link

Bitfinex - Nonce is too small #445

Closed TekMuzik closed 7 years ago

TekMuzik commented 7 years ago

Running the bot tonight for the first time for Bitfinex and I get

Welcome to Lending Bot on BITFINEX 2017-08-09 22:34:43 Error API Error 400: {"message":"Nonce is too small."} Requesting https://api.bitfinex.com/v1/offers Caught API Error 400: {"message":"Nonce is too small."} Requesting https://api.bitfinex.com/v1/offers reading from exchange API, ignoring.

with the error repeating every 61-62 seconds. As a side note, I am running two lendingbots. One under poloniexlendingbot-polo for Poloniex and one under poloniexlendingbot-bit for Bitfinex. The Polo one is running fine. The Bitfinex one is using the default config example with only my API keys added.

TekMuzik commented 7 years ago

Fixed it. Seems I had to generate a new API key. Bitfinex didn't like me using a key pair I had used with a previous program I guess.