# Automated Stop-loss Bot

While all leveraged yield farming protocols come with liquidation thresholds to protect the lenders, there is very little protection for leveraged yield farmers. On top of liquidation thresholds, Eternal Finance introduces Stop-loss ratio, offering an extra layer of protection for all leveraged yield farmers.&#x20;

Every positions are closely monitored by our Automated Stop-loss Bot. Unlike most of the stop-loss mechanism in the market which is based on debt ratio, our Stop-loss Bot monitors the **real-time** position’s value **in terms of USD**. Once the position net value drops below a predetermined protection threshold, the Bot will automatically close the farming position, **convert all the assets to USD pegged stable coins** and return them to the yield farmers.&#x20;

Some of the protocols returns both farming pair of assets back to yield farmers upon liquidation, based on minimum transaction mechanism. We notice that it is of paramount importance not to return the assets in non-stable tokens, as they are still subject to price fluctuation after the farming position is closed.&#x20;

Our Automated Stop-loss Bot let the farmers rest assured that their principals are being well protected on-chain, even you do not check the position status for days or weeks, your farming position is still under control with predetermined factor.


---

# 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.eternalfinance.io/others/automation/automated-stop-loss-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.
