# Manage Perp positions on Pocket Pro Bot

## View your Positions&#x20;

Once you’ve opened a trade, you can view your positions anytime with the /positions command. This will display a summary of your active perpetuals trades.

* Available to trade: Available balance you have left that can be used to open new positions.
* Margin used: The percentage of your account balance currently tied up in active positions.
* Position: The market you’re trading and whether you’re long or short, including your leverage size.
* Indication of Cross or Isolated: Indicates the margin mode you used for the position.&#x20;
* Entry: The price at which your position was opened.
* Mark: The current market price (used for calculating unrealized PnL).
* Size: The notional value of your position.
* P\&L: real-time profit and loss.

<figure><img src="/files/CGuElOO1pCdQMvDk7CQs" alt=""><figcaption></figcaption></figure>

## Setting Stop Loss and Take Profit&#x20;

Risk management is built directly into the bot.&#x20;

* From `/positions`, click "SL/TP" on the trade you want to manage.

<figure><img src="/files/ZfuyQrREVxrQPcxeyOOx" alt="" width="563"><figcaption></figcaption></figure>

* Select which open position you would like to set a Stop Loss or Take Profit on.&#x20;
  * **Stop Loss:** Automatically closes your position if the market moves against you, helping limit potential losses.
  * **Take Profit:** Automatically locks in profits once the market reaches your target level.

<figure><img src="/files/fCdRlU6vGQU3Ck9lOWzp" alt="" width="563"><figcaption></figcaption></figure>

* Once you select either Stop Loss or Take Profit:&#x20;
  * Choose the percentage of your position you’d like to execute. You can choose from the preset % values or set your own custom value.&#x20;
  * Next, define your trigger condition.
    * A percentage change in profit/loss (e.g., -10% or +20%), or
    * A specific price level (e.g., $5).
* Click **“🟢  Execute”** to finalize and activate your Stop Loss or Take Profit order.

<figure><img src="/files/LYIuJO8vT2BRI6iMU2I9" alt="" width="563"><figcaption></figcaption></figure>

## Close Positions&#x20;

* Click on the "Close Pos." button after you run the `/positions` command.
* Select which open position you would like to close.&#x20;
* Choose the percentage of the position you'd like to close. You can choose from the preset % values or set your own custom value.&#x20;
* Click **“🟢  Execute”** to confirm and close your position.&#x20;

  <figure><img src="/files/EATBiapHDP6Fh8MuQuT9" alt=""><figcaption></figcaption></figure>
* When you close a position, Pocket Pro Bot automatically generates a summary card that highlights your trade performance. The card displays key details including:
  * Entry Price
  * Exit Price
  * Position Size
  * Profit and Loss (PnL)
* Share your card with friends or in group chats to showcase your results.

<figure><img src="/files/EnBiEtpdQmu4FB6rJoju" alt="" width="563"><figcaption></figcaption></figure>

## Advanced Settings&#x20;

For additional settings, click the 'Advanced' button after running the `/positions` command.

* **Image View**: Display your positions in a visual card format.
* **Text View:** Display your positions in a simple text format.
* **Notifications:** Customize which group chats should (or shouldn't) get alerts.&#x20;
* **Stealth Mode:** Toggle on to stop broadcasting all trades to followers and group chats.


---

# 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.pocketprotector.xyz/trade-perps-powered-by-dydx/manage-perp-positions-on-pocket-pro-bot.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.
