> For the complete documentation index, see [llms.txt](https://docs.pikaprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pikaprotocol.com/user-guide/liquidity.md).

# Liquidity

By providing liquidity to the exchange, liquidity providers take the opposite position of all traders on the platform. The vault pays for trader profits and receives trader losses. In addition, it also receives trading fees, funding fee and liquidation profit of trades.

After clicking "Stake" button, users can input the amount of USDC to be staked. Note the liquidity is locked for 3 days before the withdraw is allowed.&#x20;

![](/files/LEKnkvxvjvRpplMlWMrZ)

After staking, the stake position will show up below. Your share balance is the USDC value of your position.&#x20;

$$
My Share Balance = Staked Value - Traders Pnl
$$

Your USDC Reward is the USDC fees you earned by staking.

$$
My USDC Reward = My Share Percent \*  (Trading Fee + Liquidation Reward) \* 0.5
$$

![](/files/nja1ioT01vHWukWk7zHF)

You can click the "Unstake" button to withdraw your liquidity. If the utilization ratio is close to 100%, you might not be able to withdraw the liquidity until someone closes the trade position. This is to ensure the platform is always solvent. For the USDC reward, however, you can choose to "Claim" it or "Reinvest" back into the vault whenever you like.


---

# 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.pikaprotocol.com/user-guide/liquidity.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.
