Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binance orders can't be canceled #1159

Open
nshopik opened this issue Mar 27, 2022 · 6 comments
Open

binance orders can't be canceled #1159

nshopik opened this issue Mar 27, 2022 · 6 comments

Comments

@nshopik
Copy link

nshopik commented Mar 27, 2022

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

@secwang
Copy link

secwang commented Apr 17, 2022

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.

@secwang
Copy link

secwang commented Apr 18, 2022

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.

@secwang
Copy link

secwang commented Apr 19, 2022

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.

@hjbc3
Copy link

hjbc3 commented Jun 3, 2022

got same issue here , when can this bug be fixed

@Vangervp
Copy link

Same issue. Please fix bug with Binance,

@Sladoeg
Copy link

Sladoeg commented Feb 27, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants