Usually in the case of holding positions, if the transfer amount is greater than the risk amount, you will be prompted to limit the amount. Your transfer amount should be lower than the limit amount to be transferred out. This is also a protection for the trading account to avoid transactions after the transfer. Insufficient margin in the account caused the account to stop out.
You can also clear all open positions and pending orders, and then trade after the transfer is successful. You can also reduce your transfer amount according to the prompts.