> For the complete documentation index, see [llms.txt](https://onchaintrade.gitbook.io/ot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://onchaintrade.gitbook.io/ot/spot-and-borrow/borrow/health-factor-and-asset-credit.md).

# Health Factor\&Asset Credit

### HF(Health factor) = Total collateral credit / Consumed credit <a href="#what-is-a-collateral-credit" id="what-is-a-collateral-credit"></a>

A CDP is liquidated when its health factor <= 1, make sure your CDP's health factor remains above 1 to avoid liquidation

Total collateral credit = Σcollateral value \* collateral credit

Consumed credit = debt value \* debt credit

### Collateral credit and Debt credit <a href="#what-is-a-borrowing-credit" id="what-is-a-borrowing-credit"></a>

OT uses 'Collateral credit' to express amount of credits gained from collateralizing an asset

Debt credit refers to amount of credits consumed per $1 worth of token borrowed

[Click here to the more detailed table](https://docs.google.com/spreadsheets/d/1FBRTvlDNGuGURECIA12S2DkT8ok1I0x48DuMsA3ffvo/edit?usp=sharing)

<table><thead><tr><th width="150">Asset</th><th width="150">Debt Credit</th><th>Collateral Credit</th><th data-hidden>MCR</th><th data-hidden>Leverage</th></tr></thead><tbody><tr><td>WBTC</td><td>1.12</td><td>0.88</td><td>125%</td><td>10</td></tr><tr><td>WETH</td><td>1.12</td><td>0.88</td><td>125%</td><td>10</td></tr><tr><td>ETH</td><td>1.12</td><td>0.88</td><td>125%</td><td>10</td></tr><tr><td>BNB</td><td>1.18</td><td>0.82</td><td>125%</td><td>10</td></tr><tr><td>DAI</td><td>1.1</td><td>0.9</td><td>120%</td><td>10</td></tr><tr><td>BUSD</td><td>1.05</td><td>0.95</td><td>120%</td><td>10</td></tr><tr><td>USDC</td><td>1.05</td><td>0.95</td><td>120%</td><td>10</td></tr><tr><td>USDT</td><td>1.05</td><td>0.95</td><td>120%</td><td>10</td></tr><tr><td>OSD</td><td>1.1</td><td>0.9</td><td>120%</td><td>10</td></tr></tbody></table>

Example: Alice borrows ETH using BTC as collateral, WBTC price = $40,000, ETH price = $2,000. Alice deposits 10 BTC, which has a total collateral credit of&#x20;

Total collateral credit = 40000 \* 10 \* 0.88 = $352,000

Assuming health factor = 1

Maximum debt value = $352,000 / 1.12 = $314,285.71(equal to 157.1428 ETH).

Alice's initial CDP HF would be: $352,000/$314,285.71 = 1.12, in case of BTC price drops or ETH price spikes, causing HF dropping below 1, the CDP will be liquidated, Alice might need to reduce debt position or add extra collateral to increase HF to avoid liquidation.


---

# 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://onchaintrade.gitbook.io/ot/spot-and-borrow/borrow/health-factor-and-asset-credit.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.
