MikaLendingBot icon indicating copy to clipboard operation
MikaLendingBot copied to clipboard

KeyError: u'USD_GBP'

Open kristapsk opened this issue 7 years ago • 2 comments

From time to time I get this:

Error USD_GBP
Traceback (most recent call last):
  File "./lendingbot.py", line 114, in <module>
    Lending.lend_all()
  File "***/poloniexlendingbot/modules/Lending.py", line 252, in lend_all
    usable_currencies += lend_cur(cur, total_lent, lending_balances, ticker)
  File "***/modules/Lending.py", line 475, in lend_cur
    raise msg
KeyError: u'USD_GBP'

v326
 Unhandled error, please open a Github issue so we can fix it!

I have manually added EUR and GBP to BITFINEX.all_currencies in default.cfg.

kristapsk avatar Jun 14 '18 17:06 kristapsk

May be caused when trying to find rates when none are available on Bitfinex?

Evanito avatar Jun 16 '18 20:06 Evanito

Probably related to #589.

tuberculo avatar Jun 24 '18 22:06 tuberculo