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

# Tradoor Liquidity Provider

The Tradoor Liquidity Provider （TLP）absorbs all losses resulting from LP risk exposure until it is depleted.&#x20;

The TLP's income comes from 3 sources:

* A portion of transaction and liquidation fees (maintenance margin)
* Income from funding fees due to LP exposure
* The profits and losses of all traders
* The TLP's profit and loss rate x = TLP net value / TLP shares

TLP subscription:

* Non-leveraged subscriptions are allowed, with redemption available after locking for 10 days.
* If the TLP is not at a loss (x >= 1), the principal invested and subscription shares are 1:1.
* If the TLP is at a loss (x < 1), the loss rate is x, and the ratio of principal invested to subscription shares is 1:1,  and calculate a loss subscription incentive b = b + s(1-x) \* principal\_invested

where s is the TLP loss subscription incentive coefficient, with a default value of 1 and is configurable.

TLP redemption:

* If the TLP is at a profit (x >= 1),&#x20;
  * If b = 0,\
    Redemption Amount = redemption\_shares \* (1+r(x-1)\*min(n, 100)\*0.1%)
  * If b > 0,\
    Redemption Amount = redemption\_shares + max{min\[redemption\_shares \* (x - 1), b], redemption\_shares \* r \* (x-1) \* min(n, 100) \* 0.1%}

b = max(0, b - max{min\[redemption\_shares \* (x - 1), b], redemption\_shares \* r \* (x-1) \* min(n, 100) \* 0.1%})

* If the TLP is at a loss (x < 1),&#x20;
  * the redemption amount = redemption shares \* x
  * b remains unchanged

\* r is the TLP lock-in redemption incentive coefficient, with a default value of 1 and is configurable, up to a maximum of 10.

<br>


---

# 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.tradoor.io/tradoor-liquidity-provider.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.
