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

Sell asset error #25

Open
Conight opened this issue Apr 21, 2021 · 3 comments
Open

Sell asset error #25

Conight opened this issue Apr 21, 2021 · 3 comments

Comments

@Conight
Copy link

Conight commented Apr 21, 2021

test_order = client.create_test_order(symbol=coin+PAIRING, side='SELL', type='MARKET', quantity=coins_in_hand[coin]*99.5/100 )

When coins_in_hand[coin] goes to small, and binance will reject sell order for asset.

BTC: 0.046819 * 99.5 / 100 = 0.046584905, it has 9 decimal places.

@CyberPunkMetalHead
Copy link
Owner

Are you getting a lot related error?

@Conight
Copy link
Author

Conight commented Apr 22, 2021

Only getting this error once in dry run mode.

@CyberPunkMetalHead
Copy link
Owner

This issue should now be solved with the last commit, can you verify?

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

No branches or pull requests

2 participants