> For the complete documentation index, see [llms.txt](https://ezfi.gitbook.io/ez-finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ezfi.gitbook.io/ez-finance/features/auto-rebalance-vaults/pdn-rebalance.md).

# PDN Rebalance

### Defination

**PDN (Pseudo Delta Neutral) Imbalance Ratio** indicates the deviation of a position from a market-neutral status, **PDN Imbalance Ratio (PIR) is defined as follows:**&#x20;

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

where:

* **NSA**: Non-Stable Asset (APT, ETH..)
* **NSA in LP**: the amount of NSA in total position.

Due to the mechanics of Constant Product LP,

* When **PIR is positive**, it means that there are now **more** NSA tokens being held as Debt (**NSA Debt**) than in the LP Position (**NSA in LP**). Since the number of NSA tokens held as Debt only changes due to the borrowing interest rather than its price movements, this implies that the **price of the NSA token has risen** which is why there will be fewer NSA tokens in the LP position.
* If **PIR is negative**, it means the NSA Debt is **less** than the NSA in LP. Similar to the Debt situation above, this implies that the **price of the NSA token has fallen** which is why there will be more NSA tokens in the LP position.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://ezfi.gitbook.io/ez-finance/features/auto-rebalance-vaults/pdn-rebalance.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.
