LogoLogo
  • Overview
  • Concept
  • Market
    • Calculating Account Risk: Examples
  • Interest Rate Model
  • Liquidation
  • Oracle
  • Risks
  • Strategy Vault
    • Overview
    • Roles
    • Timelock
    • Fee
    • Oracle-Verified RFQ
Powered by GitBook
On this page
  • Case1) Borrow $40 USDT against $100 TON
  • Case2) Borrow $60 TON against $100 tsTON
  1. Market

Calculating Account Risk: Examples

Case1) Borrow $40 USDT against $100 TON

  • Parameter

    • [Asset] Risk Factor : TON 40%, USDT 0%

    • [Market] MaxRiskRatio : 80%, MaxLeverage : 300%

    Asset

    Supply

    Borrow

    Net Asset (Supply-Borrow)

    Risk Value (RiskFactor * abs[NetAsset]

    TON (A)

    $100

    -

    $100

    $40

    USDT (B)

    -

    $40

    -$40

    $0

    Total Value (A + B)

    $100

    $40

    $60

    $40

  • Risk Assessment : Both risk metrics (Risk Ratio and Leverage) are within the market’s MaxRiskRatio and MaxLeverage limits

RiskRatio=total risk valuenet asset=$40$60≈66.7%RiskRatio = \frac{total \ risk \ value}{net \ asset} = \frac{\$ 40}{\$ 60} \approx 66.7\%RiskRatio=net assettotal risk value​=$60$40​≈66.7%
Leverage=total supply valuenet asset=$100$60≈166.7%Leverage = \frac{total \ supply \ value}{net \ asset} = \frac{\$ 100}{\$ 60} \approx 166.7\%Leverage=net assettotal supply value​=$60$100​≈166.7%

case1-1) Borrow +$20 USDT

Asset
Supply
Borrow
Net Asset
Risk Value

TON (A)

$100

-

$100

$40

USDT (B)

-

$40+$20

-$60

$0

Total Value (A + B)

$100

$60

$40

$40

  • Risk Assessment : This loan request is rejected because the resulting Risk Ratio would exceed MaxRiskRatio, even though the Leverage remains acceptable

RiskRatio=$40$40=100%RiskRatio = \frac{\$ 40}{\color{blue}{\$ 40}} = \color{red}{100\%}RiskRatio=$40$40​=100%
Leverage=$100$40=250%Leverage = \frac{\$ 100}{\$ 40} = \color{blue}{250\%}Leverage=$40$100​=250%

case1-2) Borrow +$20 TON

Asset
Supply
Borrow
Net Asset
Risk Value

TON (A)

$100

+$20

$80

$32

USDT (B)

-

$40

-$40

$0

Total Value (A + B)

$100

$60

$40

$32

  • Risk Assessment : Both risk metrics (Risk Ratio and Leverage) are within the market’s MaxRiskRatio and MaxLeverage limits

RiskRatio=$32$40=80%RiskRatio = \frac{\$ 32}{\$ 40} = \color{blue}{80\%}RiskRatio=$40$32​=80%
Leverage=$100$40=250%Leverage = \frac{\$ 100}{\$ 40} = \color{blue}{250\%}Leverage=$40$100​=250%

Case2) Borrow $60 TON against $100 tsTON

  • Parameter

    • [Asset] Risk Factor : TON 40%, USDT 0%, tsTON 5%

    • [Market] MaxRiskRatio : 80%, MaxLeverage : 300%

    Asset

    Supply

    Borrow

    Net Asset (Supply-Borrow)

    Risk Value (RiskFactor * abs[NetAsset]

    TON (A = a1 + a2)

    $100

    $60

    $40

    $16

    TON (a1)

    -

    $60

    -

    -

    tsTON (a2)

    $100

    -

    -

    $5*

    USDT (B)

    -

    -

    -

    -

    Total Value (A + B)

    $100

    $60

    $40

    $21

    • tsTON introduces an additional DeFi-specific risk layer beyond TON’s underlying asset risk, increasing the account’s overall risk values

  • Risk Assessment : Both risk metrics (Risk Ratio and Leverage) are within the market’s MaxRiskRatio and MaxLeverage limits

RiskRatio=total risk valuenet asset=$21$40=52.5%RiskRatio = \frac{total \ risk \ value}{net \ asset} = \frac{\$ 21}{\$ 40} = 52.5\%RiskRatio=net assettotal risk value​=$40$21​=52.5%
Leverage=total supply valuenet asset=$100$40=250%Leverage = \frac{total \ supply \ value}{net \ asset} = \frac{\$ 100}{\$ 40}= 250\%Leverage=net assettotal supply value​=$40$100​=250%

case2-1) Borrow +$10 TON

Asset

Supply

Borrow

Net Asset (Supply-Borrow)

Risk Value (RiskFactor * abs[NetAsset]

TON (A = a1 + a2)

$100

$70

$30

$12

TON (a1)

-

$60+$10

-

-

tsTON (a2)

$100

-

-

$5

USDT (B)

-

-

-

-

Total Value (A + B)

$100

$70

$30

$17

  • Risk Assessment : A further loan request is rejected because the resulting Leverage would exceed MaxLeverage, even though the Risk Ratio remains acceptable.

RiskRatio=$17$30≈56.7%RiskRatio = \frac{\$ 17}{\$ 30} \approx \color{blue}{56.7\%}RiskRatio=$30$17​≈56.7%
Leverage=$100$30≈333%Leverage = \frac{\$ 100}{\$ 30} \approx \color{red}{333\%}Leverage=$30$100​≈333%
PreviousMarketNextInterest Rate Model

Last updated 5 days ago