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

Error when order is partially filled

Open Maathouse opened this issue 7 years ago • 0 comments

Hi!

I'm getting an error when my order is partially filled. The bot stops after and does not sell it again nor does it cancel the remaining buy-order.

partially filled2

It tried it with (see the bold addition):

elif buy_order['status'] == 'PARTIALLY_FILLED' and buy_order['side'] == "BUY": print ("Buy order partially filled... Wait 1 more second...") if quantity < 0.00105:
self.cancel(symbol, orderId)
print ("Buy order fail (Not filled) Cancel order...")
self.order_id = 0 self.bot_status = "sell"
quantity = self.check_partial_order(symbol, orderId, sell_price)

But it doesn't seem to work, getting an PRICE FILTER error. I've followed a small python course but I'm far from expert.

Any suggestions?

Thanks in advance!

Maathouse

Maathouse avatar Feb 18 '18 13:02 Maathouse