Yes, you can withdraw funds while holding open positions.
However, please proceed with caution, as withdrawing from an account with open positions could result in a margin call or automatic stop-out. It is your responsibility to manage your risk and margin levels, and we are unable to reinstate any positions that are closed due to insufficient margin.