# Liquid Staking

{% hint style="info" %}
The LST Strategy is still in its earlier live phases where we are fine tuning and exploring what works best in live markets.
{% endhint %}

Investor‑friendly overview: Designed for asset pairs with gradual expected appreciation between the assets (e.g., LST with native). The strategy aims to accumulate the appreciating asset over time while staying active near price to capture usage fees.

## Ideal Applications <a href="#ideal-applications" id="ideal-applications"></a>

Any asset pairing where there is gradual expected rate of appreciation between the assets can be suitable for this strategy.

## Overview of Mechanics

* Maintains active liquidity near current price to capture fees
* Gradually tilts holdings toward the appreciating asset when signal and inventory allow
* Uses wider placements when one‑sided to protect scarce inventory while remaining active

## Technical Explanation

Positions are centered near price with limited, rules‑based shifts in range and weight to favor the appreciating asset when inventories are imbalanced

## Decision Diagram <a href="#decision-diagram" id="decision-diagram"></a>

<figure><img src="https://mermaid.ink/img/pako:eNqdlWtzojAUhv9KJp-1A95W_bA7VLz0Zq2X3tQPEY_CFAkTwna71v--QYSQtth2deYMb-a85zkkIdliiy4BN_GaEd9GY3PmIfEzpiNOGJ-jYvEnOt2eBciHNbJcGgDiFFkhY-BxxB3r6dcutpxGua8PELyiVmQgQQAcMcIdiohlgc_JwgU1u09fkZlUt521DQxxm3gfAuLYkpj2tMWAcECB461dQD4NHEHzEGE09JZKkXnWHWE7EZbTJ_A0RHyfgeWIVr21SutIWnc7phRtQsuObXqS2Ulr9vJS4tiVxc6S1pOeA-TCiiO6-qjrbko4f-9jYtryjHHsSe7Ft7i9lHv5P1xTcq8-3xFmCut_nhzHKwm4ft_gAvgzgNxLRGwJsc_mWW-EG3xpJwwk6yZvmQdpzeHxnXAji41yVkR8ZbLZm7TwOG8hfBLwjCOOQ8mZfIUzTDm3eRwlP459Sbn7ZC77KeD-S7N-J0s_TAdpKytGN_szQ3RDFvQ3JIs8z9oizONb1wJc-nzMG8d7CTaMvMW8TzHG6fEFN4xMvVbOm6h9HCz76uY33v3gzhzHRvvoJLzBypPZ6Hwb295fGEZ3OgQeMg9NLq_QEILQTdLODgmxOlfUhaIuFXWtqJGixoqaKOpWUQ-KelSU0VKlqcq2KjuKPAx248HetO0t57iAN8A2xFmK23UbZcwwt2EDM9wUj0vCnmZ45u1EHgk5Hb14Fm5yFkIBi-trbePmiriBUKG_FB-i6RBxRW-SFJ94j5RmJW5u8R_cLFZ07aT8QytrlWqj1KjV9EoBv4jxqnZSqzSq1XpFr-uNerm6K-C_-xL6SbVRLtc18a-XtVJNL-3-AbYGhtE?type=png" alt=""><figcaption></figcaption></figure>

```
graph TD
    A[Start] --> B{Is peg close to current tick?}
    B -->|Yes| C{Is asset ratio acceptable?}
    B -->|No| D{Is peg higher than current tick?}
    
    C -->|Yes| E[Create single position around current tick]
    C -->|No| F{Is token0 appreciating?}
    
    F -->|Yes| G{Too much token1?}
    F -->|No| H{Too much token1?}
    
    G -->|Yes| I[Create positions left of current tick]
    G -->|No| J[Create positions right of current tick]
    
    H -->|Yes| K[Create positions left of current tick]
    H -->|No| L[Create positions right of current tick]
    
    D -->|Yes| M{Is asset ratio acceptable?}
    D -->|No| N{Is asset ratio acceptable?}
    
    M -->|Yes| O[Create positions between current and peg]
    M -->|No| P{Is token0 appreciating?}
    
    P -->|Yes| Q{Too much token1?}
    P -->|No| R{Too much token1?}
    
    Q -->|Yes| S[Create positions left to peg]
    Q -->|No| T[Create positions right past peg]
    
    R -->|Yes| U[Create positions left to peg]
    R -->|No| V[Create positions right to peg]
    
    N -->|Yes| W{Is token0 appreciating?}
    N -->|No| X{Is token0 appreciating?}
    
    W -->|Yes| Y[Positions from peg to above current]
    W -->|No| Z[Positions from below peg to above current]
    
    X -->|Yes| AA{Too much token1?}
    X -->|No| AB{Too much token1?}
    
    AA -->|Yes| AC[Positions from peg to current]
    AA -->|No| AD[Positions from peg to above current]
    
    AB -->|Yes| AE[Positions from below peg to current]
    AB -->|No| AF[Positions from peg to above current]
    
    E --> AG[Return ULM Result]
    I --> AG
    J --> AG
    K --> AG
    L --> AG
    O --> AG
    S --> AG
    T --> AG
    U --> AG
    V --> AG
    Y --> AG
    Z --> AG
    AC --> AG
    AD --> AG
    AE --> AG
    AF --> AG
    
    AG --> AH[End]
```


---

# 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.yfarmer.xyz/alm/modules/liquid-staking.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.
