Open Maathouse opened 6 years ago
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.
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
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.
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