# How to Change OKX’s Margin Mode to Cross Margin Mode?

By default, uTrading will automatically **switch** to **\[Cross Margin Mode]** for you.

If you encounter some trading pairs that are **not successfully** switched, you need to go to **Okx** to **modify** them separately.

Please follow the instructions in the pictures below:

**Step 1*****:*** Open OKX App, log in to your account, click **\[**<mark style="color:blue;">**Trade**</mark>**]** on homepage bottom to enter the trading page, As follow:

<figure><img src="https://2235159847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgTaR88gN1nbfnMB7d1tU%2Fuploads%2FANflC70RJyBCVgrgR6u0%2FHow%20to%20Change%20Okx%20Margin%20Mode%20to%20Cross%20Margin%20Mode-1.jpg?alt=media&#x26;token=03a72828-94df-4e2d-bcf7-863669e24438" alt=""><figcaption><p>first step</p></figcaption></figure>

**Step 2*****:*** Select **\[**<mark style="color:blue;">**Perpetual**</mark>**]**, As follow:

<figure><img src="https://2235159847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgTaR88gN1nbfnMB7d1tU%2Fuploads%2Fs33afH0yqg43ZHIuVqps%2FHow%20to%20Change%20Okx%20Margin%20Mode%20to%20Cross%20Margin%20Mode-2.jpg?alt=media&#x26;token=28c7e86d-7471-4a5f-9215-42106aa766b9" alt=""><figcaption><p>second step</p></figcaption></figure>

**Step 3*****:*** click **\[**<mark style="color:blue;">**Cross**</mark>**]** on the upper left corner, As follow:

<figure><img src="https://2235159847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgTaR88gN1nbfnMB7d1tU%2Fuploads%2F1PT5xN545rQx0zUEcAJ6%2FHow%20to%20Change%20Okx%20Margin%20Mode%20to%20Cross%20Margin%20Mode-3.jpg?alt=media&#x26;token=69e7ec6b-3872-401e-a90f-e6a1cd30a665" alt=""><figcaption><p>third step</p></figcaption></figure>

**Step 4*****:*** Select **\[**<mark style="color:blue;">**Cross**</mark>**]** on the page,  and then click **\[**<mark style="color:blue;">**confirm**</mark>**]**, as a successful modification, As follow:

<figure><img src="https://2235159847-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgTaR88gN1nbfnMB7d1tU%2Fuploads%2FEN5yIHeM0msxVphIGIkD%2FHow%20to%20Change%20Okx%20Margin%20Mode%20to%20Cross%20Margin%20Mode-4.jpg?alt=media&#x26;token=353de5d4-bdda-4add-aa2d-296879637c5c" alt=""><figcaption><p>the fourth step</p></figcaption></figure>

**\[Cross Margin Mode]**: Your position margin is limited to the value of the asset you are trading. When you are liquidated, your maximum loss is limited to the balance of that single asset in your account.

**\[Isolated Margin Mode]**: Open positions calculate margin and PnL separately. When you are liquidated, your maximum loss is limited to the margin of that position.
