> For the complete documentation index, see [llms.txt](https://docs.zkdx.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zkdx.io/litepaper/lp-hedging.md).

# LP Hedging

Ensuring the security of liquidity is a paramount concern for zkDX. In addition to implementing various mechanisms to guide and balance liquidity, zkDX employs measures to hedge the risks encountered by liquidity providers (LPs).

In situations where there is a significant imbalance between long and short positions, leading to one-sided market movement, winning traders may acquire a large number of assets from the liquidity pool. To address this scenario, zkDX has established a hedging mechanism to mitigate potential risks. When the imbalance between long and short positions exceeds a certain threshold, zkDX conducts hedging in other markets, such as the options market. The income generated from hedging is then reinvested into the liquidity pool to partially offset any losses incurred by the pool.

Furthermore, zkDX plans to collaborate with reputable insurance service providers to offer protection for the liquidity pool. In the event of risks such as contract bugs, price oracle attacks, or governance attacks, the insurance service provider will offer compensation to mitigate the impact on LPs.

By implementing these hedging measures and partnering with insurance providers, zkDX aims to safeguard the interests of liquidity providers and enhance the overall security and stability of the platform.


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.zkdx.io/litepaper/lp-hedging.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
