To close your Firstrade account, the following:
Cash Balance is $0
No positions remaining in Positions page
All assets should be transferred out or liquidated and withdrawn before closing your account. When your account balance is $0, you may submit a request to close your account via email.