# Edit TP/SL

You can edit your TP/SL order.&#x20;

TP/SL are very useful for avoiding liquidations or securing profits while you’re away from the charts!

{% hint style="info" %}
Use keyboard shortcuts to set up your orders and express them as a percentage of the market price.
{% endhint %}

{% hint style="info" %}
When editing a long position, your SL order cannot be set at a price lower than your estimated liquidation price. Similarly, when editing a short position, it cannot be set at a price higher than your estimated liquidation price.
{% endhint %}

{% hint style="danger" %}
TP/SL orders also have a slippage tolerance you can set.

For a long position, your TP may be executed up to x% above the price you set, and your SL up to x% below it.

For a short position, your TP may be executed up to x% below the price you set, and your SL up to x% above it.
{% endhint %}

In the example below, we're adding a TP and a SL to a short BTC position:

{% embed url="<https://mass-assets.lon1.cdn.digitaloceanspaces.com/Documentation/edit_tp_sl.mp4>" %}
Perps - Edit TP/SL
{% endembed %}


---

# 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.mass.money/general/perps/market-orders/edit-tp-sl.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.
