> For the complete documentation index, see [llms.txt](https://whitepaper-23.gitbook.io/zenchain/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://whitepaper-23.gitbook.io/zenchain/zenchain-trading-components/risk-manager/trade-account-settlement.md).

# Trade Account Settlement

Traders can settle their trading account (withdraw profits or pay off losses) by going to the **Portfolio**&#x20;

### Withdraw Profits

* Click into the asset that has a positive balance for withdrawal.
* Execute transaction to withdraw profits into your Metamask wallet.
* Profits = Longs - Shorts, and can only be withdrawn if net positive.

### Repay Losses

* Click into the asset that has a negative balance for repayment.
* Execute repayment from your Metamask wallet to reduce your borrowings.  &#x20;
* Users need to pay down borrowings before collateral can be withdrawn.
