Set up your margin account
Before opening a leveraged position, you need a unified margin account. This account pools collateral to cover multiple positions simultaneously, offering better capital efficiency than isolated margin modes. As noted in official guides, this structure allows spot, perpetuals, and options to share a single collateral pool, reducing idle capital tied in separate accounts.
Connect your wallet and deposit collateral
Link your Web3 wallet to a reputable onchain derivatives exchange. Deposit stablecoins like USDC or major assets like ETH into the margin account. These assets serve as your initial margin and insurance fund. Ensure you have enough balance to cover the initial margin requirement plus a buffer for potential volatility.
Enable cross-margin mode
Switch your trading mode from "isolated" to "cross-margin." In isolated mode, each position is limited to its own allocated margin. Cross-margin links all your positions to the total balance in your margin account. This means losses in one position can be covered by profits or collateral in another, reducing the risk of premature liquidation for individual trades.
Verify your margin ratio
Check your initial margin ratio before placing your first trade. This ratio represents the percentage of your position size covered by your collateral. Most platforms require a minimum ratio (e.g., 10-20%) to open a position. If your ratio is too low, you may need to deposit more collateral or reduce your position size to avoid immediate liquidation risk.
Choose the right leverage ratio
Selecting a leverage level is the most critical decision in onchain perpetual trading. Unlike centralized exchanges where high leverage is often marketed as a feature, onchain margin trading carries unique risks: smart contract vulnerability, oracle manipulation, and high borrowing fees. Over-leveraging doesn't just increase volatility; it drastically raises the probability of liquidation before you can react.
The goal is not to maximize potential gains, but to survive inevitable drawdowns. A safe leverage ratio depends on two factors: your account size and the asset's volatility. For volatile assets like altcoins, 2x to 3x is often the practical ceiling. For stablecoins or major pairs like BTC/ETH, 5x to 10x may be manageable, but only if you have a strict exit strategy.
Use the calculator above to understand your liquidation price. Notice how a small increase in leverage drops your liquidation price closer to your entry. If the liquidation price is within 5% of your entry, you are likely over-leveraged for a volatile market. Onchain, you cannot "add margin" easily during a flash crash; your position is either safe or it is gone.
Borrowing fees also scale with leverage. As noted by OAK Research, margin trading incurs borrowing fees that vary based on market demand. Holding a highly leveraged position for more than a few hours can erode your capital through fees alone, even if the price doesn't move against you. Keep leverage low, hold time short, and always calculate your liquidation price before entering.
Monitor funding rates closely
Funding rates are the heartbeat of perpetual futures. Unlike traditional futures that expire on a set date, perpetual contracts use this mechanism to tether the onchain price to the underlying spot asset. If the rate is positive, long positions pay shorts; if negative, shorts pay longs. This flow ensures the contract price doesn't drift too far from reality, but it also creates a direct cost for holding leveraged positions during volatile swings.
You can think of the funding rate as a toll booth. When traffic (traders) is heavily skewed in one direction, the toll gets expensive to discourage overcrowding. If you ignore this metric, you might find your position eroding from fees alone, even if the price moves in your favor. Always check the current rate before opening a trade. A high positive rate suggests the market is overly bullish and longs are paying a premium to stay in. A deeply negative rate indicates excessive shorting.
Use the live widget below to track real-time rates for major pairs like ETH/USD. Don't just look at the current number; check the history. A rate that spikes suddenly often signals a potential squeeze. If the rate is consistently high for several hours, consider whether the trend has enough momentum to justify the cost, or if it's time to take profits and avoid the fee drag.
Understanding this dynamic helps you avoid the "leverage trap" where small price moves are overshadowed by high financing costs. By monitoring these rates, you keep your trading costs predictable and protect your margin from unexpected fee drains.
Set stop losses and take profits
Automated exit points are your primary defense against liquidation in onchain perp margin trading. Without them, you are relying on your ability to monitor volatile price action 24/7, which is nearly impossible during rapid market moves. Setting these levels before you open a position removes emotion from the equation and ensures that losses remain capped while profits are locked in.
Define your stop loss based on volatility, not arbitrary numbers
A stop loss should be placed at a technical level where your trade thesis is invalidated, not just at a random dollar amount. Use the asset’s Average True Range (ATR) to determine a buffer that accounts for normal market noise. If you place your stop too tight, you will likely be stopped out by a minor wick before the trend resumes. If it is too loose, a single adverse move could wipe out your entire margin.
For example, if you are long ETH/USD and the recent swing low is $3,000, placing your stop at $2,980 might trigger on a temporary dip. Instead, use a support level below that, such as $2,950, or calculate it using the current ATR value to ensure the stop is outside the range of typical fluctuations. This approach protects your capital from whipsaws while keeping your risk per trade within acceptable limits.
Scale out with multiple take profit targets
Taking profits all at once is rarely optimal because markets rarely move in straight lines. Instead, scale out of your position by setting multiple take profit orders. For instance, you might close 50% of your position at the first resistance level and let the remaining 50% run toward a larger target. This strategy locks in gains early, reducing your break-even price and effectively turning the trade risk-free.
You can adjust the stop loss on your remaining position to your entry price once the first target is hit. This "free roll" technique ensures that even if the market reverses sharply, you have already secured profit and lost nothing on the remainder of the position. This disciplined approach prevents the common mistake of watching a winning trade turn into a loss due to greed.
Use trailing stops to capture extended trends
Once a trade moves significantly in your favor, switch to a trailing stop loss. A trailing stop automatically adjusts your exit price as the market moves in your direction, locking in profits while allowing for further upside. For instance, if you set a 2% trailing stop, the stop price will rise by 2% for every 2% increase in the asset’s price, but it will never move down.
This is particularly useful in onchain perp margin trading, where leverage amplifies both gains and losses. A trailing stop ensures you capture the bulk of a trend without having to constantly monitor the chart. It acts as a safety net that tightens as the trade becomes more profitable, balancing the desire for maximum gain with the necessity of risk management.
Check liquidation price regularly
Your liquidation price is the exact point where your position gets closed out by the protocol. It is not a suggestion; it is a hard limit. Because onchain perpetual futures trade 24/7 without the circuit breakers of traditional markets, prices can move against you faster than you can react if you are not watching your dashboard. Sei notes that cross-margin allows for efficient multi-position management, but this efficiency comes with a specific risk profile that requires constant monitoring.
You need to understand the difference between isolated and cross margin before you set your alerts. Isolated margin limits your loss to the funds you explicitly allocated to that specific trade. If the price hits your liquidation level, only that portion of your capital is lost. Cross margin, however, uses your entire available balance in the wallet to support the position. This means a single adverse move can drain your entire account, not just the trade collateral. Oak Research highlights that while cross-margin reduces the immediate risk of liquidation by pooling resources, it exposes all your assets to the borrowing fees and volatility of that single leveraged bet.
Isolated vs. Cross Margin Liquidation Behavior
| Feature | Isolated Margin | Cross Margin |
|---|---|---|
| Collateral Source | Dedicated funds only | Entire account balance |
| Liquidation Impact | Limited to trade collateral | Total account balance at risk |
| Margin Call Risk | Lower (contained) | Higher (cascading) |
| Best For | High-risk, short-term trades | Long-term, low-volatility holds |
Set your liquidation price alert as your primary safety net. Most platforms allow you to configure push notifications or onchain alerts when your margin ratio drops below a certain threshold. Do not wait for the liquidation event to happen to realize you are undercapitalized. If you are using cross margin, your buffer is your total balance, so your alert should trigger well before the protocol takes action. For isolated margin, the buffer is fixed, so you must add margin or close the position manually before the price hits the liquidation line. Ignoring these signals is the fastest way to lose your capital in onchain leverage trading.
Common mistakes to avoid
Trading onchain perpetual futures offers leverage without expiration, but the lack of a traditional market maker means you bear the full cost of friction and volatility. The most frequent error is ignoring gas fees. On networks like Ethereum, a single liquidation or position close can cost more than the profit itself. Always check current gas prices before entering a trade on high-fee chains.
Another critical mistake is failing to monitor funding rates. These rates determine whether you pay or receive funding every few hours. If you are long during a period of high positive funding, you may bleed capital even if the price stays flat. Conversely, shorting during negative funding can be expensive. Treat funding rates as a recurring cost of doing business, not an afterthought.
Finally, many traders over-leverage on volatile assets without adjusting their position size. A 1% move against a 50x leveraged position is a 50% loss. Always calculate your liquidation price before opening a trade and ensure your margin can withstand normal market noise.
Final checklist for safe trading
Before you execute an onchain perp margin trade, verify these five points. This checklist helps you avoid common pitfalls like liquidation or unexpected funding fees.
- Confirm your liquidation price. Ensure it is far enough from the current market price to absorb normal volatility without triggering an automatic close.
- Check the funding rate. High positive or negative rates can erode your position value over time. MetaMask notes that funding payments are exchanged periodically to keep the perp price aligned with the spot price.
- Verify margin type. Cross margin ties up all your collateral for a single position, while isolated margin limits risk to a specific amount. Choose based on your risk tolerance.
- Assess slippage tolerance. Set a reasonable slippage limit to ensure your order fills at a price close to what you expect, especially in volatile markets.
- Review protocol fees. Understand the trading fees and any potential gas costs on the specific blockchain you are using.
-
Liquidation price is safe
-
Funding rate is acceptable
-
Margin type is selected
-
Slippage limit is set
-
Fees are understood
Frequently asked: what to check next
How do onchain perp margin and funding rates work?
Perpetual futures (perps) are derivatives that track an asset’s price without an expiration date. To keep the contract price aligned with the spot market, traders pay or receive funding fees every few hours. If the perp trades above the spot price, long positions pay shorts; if it trades below, shorts pay longs. This mechanism replaces the settlement date found in traditional futures.
What triggers liquidation in onchain perp margin?
Liquidation occurs when your margin balance falls below the maintenance threshold required by the protocol. Because onchain markets can experience rapid volatility, your position is automatically closed to prevent further losses. The exact price depends on the specific protocol’s liquidation penalty and oracle data, so maintaining a buffer above the minimum is essential for safety.
Can I lose more than my initial deposit?
Most modern onchain perp protocols use "isolated margin" or have insurance funds to absorb losses, meaning you generally cannot lose more than the collateral you deposited. However, you should always check the specific risk parameters of the platform you are using. Some older or less robust protocols may still carry backend debt risks, so reading the official documentation is critical before trading.
How is onchain perp margin different from traditional futures?
Traditional futures have a fixed expiry date and are often traded on centralized exchanges with order books. Onchain perp margin trades happen directly from your wallet via smart contracts, offering greater transparency and self-custody. There is no expiry date, and funding rates adjust continuously based on market sentiment rather than a fixed contract cycle.


No comments yet. Be the first to share your thoughts!