Yes, you can delete your account even if you have open positions. However, closing your open positions is important before deleting your account.