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

[BUG] Not showing assets in "Earn" #79

Open
RogerK888 opened this issue May 27, 2021 · 4 comments
Open

[BUG] Not showing assets in "Earn" #79

RogerK888 opened this issue May 27, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@RogerK888
Copy link

When assets are staked or in "Earn" state, or Binance Vault, the asset is returned in a list with "LD" prefixing the asset ticker. When getting the price of the asset, it does not pull the current total asset value.

I'm guessing it's because it's in another area of the API?

It would be great to be able to display these as well, along as spot, cross margin, etc.

Also on this topic, it would be great if there was a function to display total asset value in BTC.

Thanks for a great bit of code.

@RogerK888 RogerK888 added the bug Something isn't working label May 27, 2021
@Alexander-Shukaev
Copy link

Second request is same as #98.

@Alexander-Shukaev
Copy link

It seems like "locked" value is also reported as 0 most of the time, so there is no way to determine true account balance reliably.

@Alexander-Shukaev
Copy link

Alexander-Shukaev commented Mar 12, 2022

It appears that "locked" actually refers to what is used for open orders rather than value locked in staking. In that case, "locked" value is correct. However, then there are no values reported for (locked) (DeFi) staking and dual investment, so once again, not possible to determine the true value of an account. Looks like Binance API does not support this yet: https://dev.binance.vision/t/earn-locked-staking/1453

@darelover
Copy link

Seems like Binace api has now added the support for Staking endpoints as of 28th April 2022:
https://binance-docs.github.io/apidocs/spot/en/#staking-endpoints

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

4 participants