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

KeyError: u'USD_GBP' #629

Open
kristapsk opened this issue Jun 14, 2018 · 2 comments
Open

KeyError: u'USD_GBP' #629

kristapsk opened this issue Jun 14, 2018 · 2 comments

Comments

@kristapsk
Copy link

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.

@Evanito
Copy link
Member

Evanito commented Jun 16, 2018

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

@tuberculo
Copy link
Contributor

Probably related to #589.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants