Margin trading guide

Published on Jul 17, 2023Updated on May 29, 20245 min read131

Margin trading is a trading method that traders can borrow assets from an exchange such as OKX and leverage their margin in multiples to amplify potential profit and risk. You can either Buy (Long) a token or Sell (Short) a token to gain profits depending on the price that goes up or falls. When using margin trading, it's important to be aware of the risk, the maximum leverage is 10 times the initial principal, meaning that both profits and losses can be multiplied by up to 10 times.

Before using margin trading, you'll need to ensure you have assets in your trading account, or you can make a transfer from funding account to trading account.

  • On the web: Login to OKX website > Assets > My Assets > Transfer

  • On the app: Open you OKX App > Assets > Transfer

  • Or you can also transfer on Margin trading page

    CT-web-margin trading-transfer

    On the web: transfer on Margin trading page

    CT-app-margin trading-transfer

    On the app: transfer on Margin trading page

How do I Buy (Long) / Sell (Short) a token?

In Margin trading, "Buy (Long)" refers to buying at a low price and then selling at a higher price; "Sell (Short)" refers to selling at a high price then buying at a lower price. By doing this, you can earn a profit from the price difference.

On the web

  1. Login to OKX website > Trade > Derivatives&margin trading > Margin

  2. Select the trading pair (e.g. BTC/USDT) you would like to trade and ensure you selected Margin under Markets

    CT-web-margin trading-entrance

    Margin trading page

  3. Select Cross/Isolated margin mode and leverage that you would like to trade

  4. Select Limit / Market / TP/SL to enter your expected price and amount according to your need

  5. Select Buy (Long) / Sell (Short) Token to confirm your order

    CT-web-margin trading-buysell

    Buy (Long) / Sell (Short) Token to confirm your order

On the app

  1. Open your OKX App > Trade, and select a trading pair that you would like to trade

    CT-app-margin trading-entrance

    Open margin trading page

  2. Select Cross/Isolated margin mode and leverage that you would like to trade

  3. Select Limit / Market / TP|SL to enter your expected price and amount according to your need

  4. Select Buy / Sell Token to confirm your order

How do I change account settings?

Select Settings on Trade > Margin page, you can set your Account mode, Isolated margin transfers.

CT-web-margin trading-settings

On the web: Settings on Margin trading page

CT-app-margin trading-settings

On the app: open Settings by selecting the three points at the top right corner

How do I close positions?

  1. Select Open positions and find the position you would like to close

  2. Enter the Price and Amount to Close the position

    CT-web-margin trading-open positions

    On the web: check your open positions

    CT-app-margin trading-open positions

    On the app: check your open positions

You can also Close all to quickly close all the positions or add TP|SL to take profit or stop loss in time.

Note: if there is a market fluctuation happening, orders might remain unfilled.

How do I check open orders?

You can select Open orders to check current unfilled orders, and you can also Modify or Cancel it.

CT-web-margin trading-open orders

On the web: check your open orders

CT-app-margin trading-orders

On the app: check your open orders

Notes

  • Under the Cross and Isolated margin mode, interest will be incurred when there are liabilities generated.

  • The liabilities incurred under cross/isolated margin mode will be accrued and deducted separately.

  • Interest is accumulated and recorded on the hour. It'll take 5 minutes to record accrued interest. Any liabilities that are incurred during this period will be recorded as well. For example: when the user borrows crypto at 22:55, the interest will not be recorded. At 23:00, the interest is calculated through interest-bearing debt, and at 23:00, the interest is deducted. If the user returns the debt at 22:57, no interest will be generated.