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

Portfolio USDC balance query returns 0 despite funds being present in the account. #71

Open
tech-and-ai opened this issue Dec 27, 2024 · 1 comment

Comments

@tech-and-ai
Copy link

I've developed code that performs transactions, and after a few days of trading the USDC holding value diminishes showing a 0 balance although there is a value in there, the only way I have resolved this is by moving the USDC to a new portfolio, redirect the CDP key to that Portfolio and then my code (unchanged) can then see the USDC balance again.

It's almost like after transactions the portfolio corrupts and damages the USDC wallet resulting in it not returning the value. Has anyone experienced this?

@coinbase coinbase deleted a comment Dec 27, 2024
@John-peterson-coinbase
Copy link
Contributor

John-peterson-coinbase commented Dec 28, 2024

Thanks for reaching out @tech-and-ai . The CDP SDK does not have a concept of a portfolio. Can you please share a code sample to reproduce the bug?

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

No branches or pull requests

3 participants
@John-peterson-coinbase @tech-and-ai and others