# Taking Profit

We all know investing has its risks. But what if you just made an OG play, which resulted in lambo-deserving profits? Well, that's great! You probably want to withdraw some of that to buy it! In order to provide a safe environment for lenders, there are two elements the Prime Account focuses on whenever anyone withdraws collateral. The [health meter](/prime-brokerage-account/health-and-borrowing-power.md) and the [Withdrawal Guard](/protocol/security/withdrawal-guard.md). Both may be encountered mid-withdrawal with the following error messages. &#x20;

***

> Health should be higher than 0%

{% content-ref url="/pages/hErmWlu5jkpC4LEuZ2ZA" %}
[Withdrawing & Health](/prime-brokerage-account/taking-profit/withdrawing-and-health.md)
{% endcontent-ref %}

***

> Not all 'borrowed' is covered by its 'balance'. Update missing balance(s) to withdraw. Read more.

{% content-ref url="/pages/ZP1k1lUikNGPVLz4NmQZ" %}
[Withdrawing & Withdrawal Guard](/prime-brokerage-account/taking-profit/withdrawing-and-withdrawal-guard.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.deltaprime.io/prime-brokerage-account/taking-profit.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
