Exposure represents the risk exposed when borrowing assets on WOO X. Users borrow assets when trading with leverage or shorting a position.
Total Exposure
Total exposure is the total notional size across your borrowed tokens.
If holding + interest >= 0, the total exposure is 0; if holding + interest < 0, total exposure is abs(holding + interest) * index price.
For example: You have -1 BTC, 0.05 BTC unpaid interest, and 100 USDT,. Let’s assume the BTC price is 10,000 $USDT, then your total exposure is abs( -1 - 0.05 ) * 10,000 = 10,500.
Adjusted Exposure
Adjusted exposure is the total exposure + the pending exposure.
The pending exposure is calculated as abs((min(0, holding + interest + pending short quantity) - min(0, holding + interest)) * index price).
In other words:
- If holding + interest < 0 and holding + interest + pending short quantity < 0
- Pending exposure is abs(pending short quantity) * index price
- If holding + interest >= 0 and holding + interest + pending short quantity < 0
- Pending exposure is abs(holding + interest + pending short quantity) * index price
- If holding + interest >= 0 and holding + interest + pending short quantity >= 0
- Pending exposure is 0.
Here’s an example where the BTC price is 10,000 $USDT.
Balance |
Interest(USDT)
|
Pending order(BTC/USDT)
|
Total Exposure
(USDT) |
Pending Exposure
(USDT) |
Adjusted Exposure
(USDT) |
|
BTC | USDT | |||||
-1 | 100 | 5 | -0.5/10,100 | 10,000 | 5,000 | 15,000 |
0 | 5,100 | 5 | -1/10,100 | 0 | 10,000 | 10,000 |
0 | 5,100 | 5 | 0 | 0 | 0 | 0 |
1 | -5,000 | 5 | 0 | 5,005 | 0 | 5,005 |