## EXAMPLE 1 - Buying 1 BTC at $4000 at 25x leverage rate, borrowing $4000 at daily rate 0.04%, trading fee 0.25%

Let's say that trader's balance before the trade is $300. To start the trade, trader must have at least $4000 / 25 = $160 as margin, plus some more to pay fee (if applicable) and interest.

Trader takes up a loan of $4000 at 0.04% and pays first interest, $1.6.

Trader uses this $4000 to buy 1 BTC and pays trading fee for the buying execution, $10.

#### Supposing that market bid is now $4100, trader's account details are as follows:

- P&L: $100
- Balance: $288.4 (balance before trade, minus interest and trading fee)
- Used margin: $160
- Available margin: $228.4 (balance minus used margin, plus P&L)
- Available margin / used margin: 142.75%

If trader closes the trade now, they sell the 1 BTC that was bought from the beginning with loan money, and pay trading fee again, now $10.25, for the selling execution. With $4100 made from selling 1 BTC, they pay off the $4000 loan. In total, they pay $1.6 interest and $20.25 trading fee, to have gotten a profit of $100. Their final balance is $378.15.

If trader decides to hold onto the trade to the next day, more interest will be deducted as it is a daily fee.

#### Supposing that market bid is now $3900, trader's account details are as follows:

- P&L: -$100
- Balance: $288.4 (balance before trade, minus interest and trading fee)
- Used margin: $160
- Available margin: $28.4 (balance minus used margin, plus P&L)
- Available margin / used margin: 17.75%

As the ratio is now below 20%, system will issue a margin call warning email. If trader closes the trade now, after selling 1 BTC and paying off its trading fee and the loan, trader will have taken a loss of $100. Their final balance is $178.65.

If trader decides to hold onto the trade to the next day, more interest will be deducted as it is a daily fee.

If due to some reason available margin gets below 10% (market bid getting too low or trader doing some more trades that deplete their balance), forced liquidation will occur.

## EXAMPLE 2 - Selling 1 BTC at $4000 at 25x leverage rate, borrowing 1 BTC at daily rate 0.02%, trading fee 0.25%

Short trades are a bit more complicated because trader has to pay back their loan in base currency, and to do so they have to use quote currency to buy base currency first.

Let's say that trader's balance before the trade is $300. To start the trade, trader must have at least $4000 / 25 = $160 as margin, plus some more to pay fee (if applicable) and interest.

Trader takes up a loan of 1 BTC at 0.02% and pays first interest, 0.0002 BTC. They have to use quote currency (in this case USD) to buy 0.0002 BTC at market ask to pay.

Trader uses this 1 BTC to sell for $4000 and pays trading fee for the buying execution, $10.

#### Supposing that market ask is now $3900, trader needs to spend $3900 * 0.0002 = $0.78 to buy 0.0002 BTC and pay interest. Trader's account details are as follows:

- P&L: $100
- Balance: $289.22 (balance before trade, minus interest and trading fee)
- Used margin: $160
- Available margin: $229.22 (balance minus used margin, plus P&L)
- Available margin / used margin: 143.2625%

If trader closes the trade now, they buy back 1 BTC with the $4000 from the first selling execution and pay trading fee again, now $9.75, for the selling execution. Then they can pay off the loan with 1 BTC. In total, they pay $0.78 interest and $19.75 trading fee, to have gotten a profit of $100. Their final balance is $379.47.

If trader decides to hold onto the trade to the next day, more interest will be deducted as it is a daily fee. In the case of short trades, interest changes according to market ask.

#### Supposing that market bid is now $4100, trader's account details are as follows:

- P&L: -$100
- Balance: $289.22 (balance before trade, minus interest and trading fee)
- Used margin: $160
- Available margin: $29.22 (balance minus used margin, plus P&L)
- Available margin / used margin: 18.2625%

As the ratio is now below 20%, system will issue a margin call warning email. If trader closes the trade now, after buying 1 BTC at market bid and paying off its trading fee ($10.25) and the loan, trader will have taken a loss of $100. Their final balance is $178.97.

If trader decides to hold onto the trade to the next day, more interest will be deducted as it is a daily fee. In the case of short trades, interest changes according to market ask.

If due to some reason available margin gets below 10% (market bid getting too low or trader doing some more trades that deplete their balance), forced liquidation will occur.