binance-trader icon indicating copy to clipboard operation
binance-trader copied to clipboard

selling after sell order filled

Open mattfacer opened this issue 6 years ago • 3 comments

The app seems to continuously try to sell even once the sell order has been completed. For example,

quantity=50 pairing=XRPBTC profit=0.3

buy 50 at 0.3 profit 2 buy orders created - both filled total = 100 coins

app creates two sell orders for 50 coins each both filled.

Now I have ZERO balance. That's fine. Yet the app just keeps showing "buy order filled... try sell" and then "account has insufficient balance for requested action". Nothing else happens. No more buy orders are created. It's stuck in a sell loop.

This earlier sold ALL of my 5000 TRX (Tron) coins! I was testing it with a quantity of 200 at a time, only to find within a few minutes it had rattled through and created LOADS of sell orders. Lesson learned there!!

screen shot 2018-04-25 at 21 41 40

mattfacer avatar Apr 25 '18 20:04 mattfacer

Did You Solve It @mattfacer

LoayGhreep avatar Dec 01 '18 13:12 LoayGhreep

I think I found it, in line 2016 sell_status should be replaced by sell_order['status'] I think, solved the loop for me

BCvsv avatar Jul 26 '20 13:07 BCvsv

I think I found it, in line 2016 sell_status should be replaced by sell_order['status'] I think, solved the loop for me

you may pull request and commit it to dev

geeks121 avatar Jul 27 '20 10:07 geeks121