Start typing to search this publication.
defi news
Open menu

Subscribe to defi news

Get new posts delivered straight to your inbox.

Byreal: Managing perpetual margin when prices move against you

defi news
4 min read

Byreal perpetual margin needs a buffer when prices move against you. Your wallet holds your funds, but only funds credited to the perpetual account can support a position. Watch the mark price, account equity and liquidation estimate. If the buffer shrinks, add usable margin or reduce the position before liquidation can begin.

How does Byreal perpetual margin work?

A perpetual is a trade on an asset’s price with no expiry date. Margin is the money backing that trade. Byreal Perps uses Hyperliquid for its perpetual positions, so your Solana wallet balance and your perpetual account balance are separate.

Leverage lets you control a position larger than your margin. At 5x leverage, $200 can open a $1,000 position. A 10% move against that position costs about $100, or half the starting margin, before fees and funding.

The position panel gives you the numbers that matter during a move:

  • Mark price: the reference price used to assess the position for liquidation. It can differ from the latest traded price.

  • Equity: the margin left after current gains or losses and other account changes.

  • Maintenance margin: the minimum equity needed to keep the position open. Its rate depends on the market and position size.

  • Liquidation price: an estimate of where the mark price could make equity fall below that minimum.

With isolated margin, you assign funds to one position. You can add margin to that position without making your other positions share its losses. With cross margin, positions share the account’s available collateral. One losing cross position can use funds that were supporting another.

How much room does a position have left?

Your immediate buffer is equity minus maintenance margin. Calculate it using the live figures, then ask how much another price move would cost. The liquidation price shown on entry is only an estimate; funding and other cross positions can change it.

Say you buy 10 units at $100 each. The position is worth $1,000, backed by $200 at 5x leverage. If the mark price falls to $90, the position loses $100 and has about $100 of equity left, ignoring fees.

Suppose this market’s maintenance rate is 2.5%. At $90, the position is worth $900, so maintenance margin is about $22.50. Your buffer is about $77.50. Each further $1 fall costs another $10 while all 10 units remain open.

That $77.50 is not a safe distance to spend in full. The maintenance amount changes with the position value, and a fast move can pass your intended exit price. Check the live liquidation estimate as well as your own calculation.

Should you add margin or reduce the position?

Add margin when you want to keep the same position size and can afford more exposure. For the example above, adding $100 raises equity to about $200 and the buffer to about $177.50. The next $1 fall still costs $10. Added margin buys room; it does not shrink the trade.

Reduce the position when the trade is too large for the loss you can accept. Closing half at $90 leaves five units open. Equity is still about $100 before closing costs, but maintenance falls to about $11.25. Each further $1 fall then costs about $5.

Closing the whole position ends its price risk once the order fills. A stop loss is an order intended to exit at a chosen trigger; use reduce only so it cannot open a position in the opposite direction. In a fast market, the fill may be worse than the trigger.

Choose by the next move you could withstand, rather than the leverage number alone. Adding margin suits a position whose size still fits your limit. Reducing size suits one whose next likely loss would exceed it. Closing suits a trade you no longer want to hold.

What should you do during an adverse move?

Work from the position panel, then confirm the result. A wallet transfer is not a margin increase until the perpetual account receives it.

  1. The Byreal exchange shows the position apart from funds still in your wallet. Open Byreal and read the affected position’s mark price, equity, margin mode and liquidation estimate.

  2. Calculate the buffer by subtracting maintenance margin from equity. Multiply your position’s units by a further adverse price move to see how quickly that buffer could shrink.

  3. Choose one response based on that loss: add margin, reduce size, or close. For isolated margin, check that the perpetual account has funds available to add. For cross margin, check the whole account’s equity and other open positions.

  4. Submit the chosen action. If you need to move USDC from your Solana wallet first, keep enough SOL for the network transaction and wait until the deposit appears in the perpetual account.

  5. Read the updated position after the action settles or fills. Confirm the new size, equity and liquidation estimate; an unfilled limit order has not reduced your exposure.

What will managing the position cost and take?

Adding margin has no trading fill, but moving funds can involve a network or transfer charge. A plain Solana transaction usually confirms in seconds; moving funds into the perpetual account may take minutes. Check that account balance before relying on it during a sharp move.

Reducing or closing means paying a trading fee on the amount filled. Perpetual fees are commonly around 0.01%–0.05% per fill, with the displayed rate depending on the order and account. A market order can fill quickly, but its price may slip when the order book is thin. A limit order sets a price and may wait or never fill.

Holding a perpetual can also involve funding, a periodic payment between long and short traders. On this engine it is settled hourly, and its rate can change sign. For example, 0.01% on a $900 position is about nine cents for one hour. Check who pays before leaving a losing position open.

The practical rule on Byreal is to measure the remaining buffer, choose how much exposure to keep, and verify that the account actually reflects your action.

Subscribe to defi news