*Both examples are explained with QUOINEX's old trading fee setting which is 0.25% for non-base currency pairs.*

**EXAMPLE 1: Buying 1 BTC at $4000 at 25x leverage rate, borrowing $4000 at daily rate of 0.04%**

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)
- Margin coverage: 142.75% (available margin divided by used margin)

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)
- Margin coverage: 17.75% (available margin divided by used margin)

As margin coverage 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), a margin call will occur and this trade will be closed by system.

**EXAMPLE 2: Selling 1 BTC at $4000 at 25x leverage rate, borrowing 1 BTC at daily rate of 0.02%**

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 interst. 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)
- Margin coverage: 143.2625% (available margin divided by used margin)

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)
- Margin coverage: 18.2625% (available margin divided by used margin)

As margin coverage 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), a margin call will occur and this trade will be closed by system.

## Comments

0 comments

Please sign in to leave a comment.