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

Error getting last traded prices for trading pairs #52

Open
komposter opened this issue Jan 12, 2025 · 1 comment
Open

Error getting last traded prices for trading pairs #52

komposter opened this issue Jan 12, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@komposter
Copy link

komposter commented Jan 12, 2025

Describe the bug

I had some DAI on my balance.
05.01.2025 backend-api started spamming the same message to the log every minute:

2025-01-06 11:39:52,622 - root - ERROR - Error getting last traded prices for trading pairs ['BTC-USDT', 'ETH-USDT', 'BNB-USDT', 'DAI-USDT', 'LUNA-USDT', 'SHIB-USDT', 'LUNC-USDT', 'PEPE-USDT']: 'DAI-USDT'

So, it wanted to calculate my account balance and failed because DAI-USDT wasn't available.
I sold all DAI I had on my account, and it stopped spamming.

I think it should try to convert DAI to USD using both DAI-USDT and USDT-DAI` pairs and only if both are not available, raise an error.

@komposter komposter added the bug Something isn't working label Jan 12, 2025
@hummingbot hummingbot deleted a comment Jan 13, 2025
@rapcmia
Copy link
Contributor

rapcmia commented Jan 13, 2025

I'm able to reproduce this error after we fix the delisted tokens on our test account. Added balance on DAI resulted same reported error

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants