# Auto-Rollover

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

The Auto-Rollover Hook is a mechanism designed to automate the renewal or extension of time-bound positions, such as fixed-term deposits or expiring contracts, within DeFi protocols. This automation ensures that users maintain continuous exposure to their chosen positions without the need for manual intervention at each expiration.

How does this work? First, the Auto-Rollover Hook tracks the expiration timelines of user positions. If the user has enabled the Auto-Rollover Hook, the hook automatically renews the position upon expiration, reinvesting the principal (and potentially the accrued interest) into a new term or contract.

#### **Benefits**

**Continuous Investment Exposure:** Users maintain uninterrupted participation in their chosen positions, maximizing potential returns.

**Efficiency:** Eliminates the need for manual renewals, saving users time and reducing the risk of missed opportunities due to lapsed positions.

**Reduced Transaction Costs:** Automating the rollover process minimizes transaction fees associated with closing and reopening positions manually.


---

# 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.tren.finance/protocol/hooks/auto-rollover.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.
