CyberPunkMetalHead / Binance-News-Sentiment-Bot

This is a fully functioning Binance trading bot that takes into account the news sentiment for the top 100 crypto feeds. If you like this project consider donating though the Brave browser to allow me to continuously improve the script.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sell asset error

Conight opened this issue · comments

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.

Are you getting a lot related error?

Only getting this error once in dry run mode.

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