Why is the bot stuck? – under deleverage process
The auto deleverage mechanism helps you reduce risk and earn more profit for longer periods of time. It will auto sell a part of the spot and auto close a part of the futures and put that money into the margin, so your bot needs some time when it is in the middle of this process.