binance orders can't be canceled
nshopik opened this issue · 6 comments
maybe binance did change something, but K can only push new orders but can't delete them, but i don't see anything in console for errors
yes ,same error, some time K stuck on deleting order,have to restart every 1H。
The situation is that some limit orders are not cancelled and are not shown in the market order. I speculate that the cancellation order is invalid because of ratelimit. I'm trying to add lifetime to reduce the frequency of k.
│ 04/18 01:53:34.050940 QP BID quoting PAUSED because target base position limit was reached.
First of all, because of TBP, the whole market-making machine is suspended, and then if the suspension process takes a long time, this kind of order will show in binance, which equals to k being stuck and can only be restarted, while canceling the order on the binance.
I understand the situation, and the conclusion is that I need to write a script to clean up zombie orders so that I can keep running.
The logic is simple: the order continues to exceed the 1min (too long for high frequency) and we cancel the order.
I am using such a strange way to solve this problem at present. Use a python script to check if binance has a zombie order, and if so, script make restart k. So far, the job is very good.
got same issue here , when can this bug be fixed
Same issue. Please fix bug with Binance,
I am using such a strange way to solve this problem at present. Use a python script to check if binance has a zombie order, and if so, script make restart k. So far, the job is very good.
secwang, Could you please share the python script, I have the same issue, only canceling the orders with the separate script doesn't work for me and K still stucks.
Did you catch exactly the event when the K is stucked?