πMargin Trading
Welcome to the Alpha Phase of Margin Trading on ZO. This feature allows advanced traders to amplify their positions with leverage.
β οΈ Alpha Access Limited: This feature is currently in testing with only 200 slots available. As of now, 82 slots remain. Access is granted on a first-come, first-served basis.
Request your Access: https://app.zofai.io/margin-trade
Step 1: Connect Wallet
Connect your preferred wallet to ZO to begin. Ensure you have sufficient USDC or supported assets in your wallet to use as collateral.

Step 2: Request Alpha Access
Since this feature is in Alpha, you must manually request access before trading.
After connecting your wallet, locate the "Request Access" button in the trading module.
Click the button to claim a tester slot.
Once approved, the trading interface will unlock.

Step 3: Open a Position
Once access is granted, you can open Long or Short positions. The interface provides granular control over order type, leverage, and position size.
Available Trading Pairs
Currently, the Alpha launch supports the following trading pairs against USDC:
SUI / USDC
DEEP / USDC
WAL / USDC
XBTC / USDC
Select your desired pair from the asset selector at the top of the trading panel to begin configuring your order.

Long vs. Short
Long (Buy): You profit when the tokenβs price goes up. You borrow funds to increase your buying power.
Short (Sell): You profit when the tokenβs price goes down. You borrow the asset to sell immediately, aiming to buy it back later at a lower price.
Order Configuration
The trading panel includes several key controls to customize your trade:
Order Type: Toggle between Market (instant execution) and Limit (execute at a specific price).
Leverage: Click the 1x dropdown to select your desired leverage multiplier up to 5x. Higher leverage increases both potential profit and liquidation risk.
Amount & Quantity:
Enter the Amount of collateral (e.g., USDC) you wish to deploy.
Use the slider (0% - 100%) to quickly allocate a percentage of your available wallet balance.
Receiving: Displays the estimated amount of the target asset you will receive (for Long) or the stablecoin value (for Short).
Advanced Options
Fine-tune your order behavior with these settings:
Reduce Only: When checked, the order can only reduce an existing position, preventing accidental reversals.
TIF (Time In Force): GTC (Good Till Cancelled), ensuring the order remains active until filled or cancelled. IOC (Immediate or Cancel), ensuring the order fills what it can immediately and cancels the rest.
Max Fee: Displays the maximum protocol and network fees required for the transaction.
Review Account Metrics
Before confirming, review your real-time account status at the bottom of the panel:
Asset: Total value of assets held in your margin account.
Debt: The amount currently borrowed (displayed in red if active).
Account Value: Your net equity (Assets minus Debt).
Wallet: Your available balance outside of the margin account.
Execute Trade
Once all parameters are set:
Click the green Long button (if Buy is selected) or Short button (if Sell is selected) to submit the order.
Confirm the transaction in your wallet popup.
π‘ Note: Margin trading involves risk. Ensure you monitor your Debt and Account Value to avoid liquidation. Funding fees and reserving rates apply similar to standard ZO trading.

Step 4: Managing Positions
After opening a trade, it will appear under your Positions tab. From here, you can track PnL, adjust collateral, or close the position.
Adjusting Collateral
Click Adjust on an active position to:
Deposit: Add more collateral to lower leverage and move your liquidation price further away.
Withdraw: Remove collateral to increase leverage (only if health factor allows).
Repay: Pay down borrowed debt manually to reduce interest accrual or improve position health.
Asset Selection
At the middle of the modal, you can toggle between assets involved in your position:
SUI (the base asset)
USDC (the quote/collateral asset)
This lets you manage either side of your margin position independently.
Balance Overview
The panel displays real-time balances:
Wallet: Your available balance outside the position.
Position: The current amount held within this specific margin position.
Amount Input & Slider
Use the Amount to deposit field to enter a precise value, or use the slider (0% β 100%) to quickly allocate a percentage of your available wallet or position balance.
Click Max to auto-fill the maximum allowable amount based on your current balance and position constraints.
The orange dot on the slider indicates your current selection.

Closing a Position
You can close your position partially or fully at any time:
Go to the Positions section.
Click Close next to the specific trade.
Select the portion to close and confirm.

ZO automatically calculates your PnL and returns the remaining funds to your wallet upon closure.
Have feedback on the Alpha? Click "Leave Feedback" at the bottom of the trading panel to share your thoughts with the team.
Last updated