Home / Blog / KCEX

Why your KCEX futures PnL changes when you close

floating PnL uses mark price, closing PnL uses your fill, and liquidation is a margin test

By Updated

Key takeaway

KCEX's Futures Trading FAQ is short, but it contains the two formulas that explain most "why is my PnL different" questions: floating PnL is measured on the mark price, closing PnL is measured on your actual exit price, and liquidation is a margin test, not a price you choose.

KCEX logo, for the post: Why your KCEX futures PnL changes when you close: floating PnL uses mark price, closing PnL uses your fill, and liquidation is a margin test
KCEX logo.

Here they are with live ETH numbers from the KCEX futures page.

Live context

KCEX's $ETH.USDT perpetual page, captured logged-out at about 10:40 AM ET on Nov 16, showed a last price of 1,804.71, a mark price of 1,804.76 and an index price of 1,805.65, with about 20.6M USDT of open interest. The order panel listed fees of 0% maker and 0.01% taker. KCEX's FAQ, last updated in 2024, says 0% maker and 0.02% taker for regular users, which is a good reminder to read the fee line on the live order panel rather than an old help page.

Three prices, three jobs

  • Last price: the latest trade on KCEX. Your realized result uses the price your closing order actually fills at.
  • Index price: the reference built from spot markets.
  • Mark price: KCEX describes it as the most reasonable price in the market. It is used for unrealized PnL and for the liquidation price.

Floating PnL vs closing PnL (USDT-M)

From the FAQ:

  • Floating PnL, long = (mark price - average entry price) x position size
  • Floating PnL, short = (average entry price - mark price) x position size
  • Closing PnL, long = (exit price - average entry price) x position size
  • Closing PnL, short = (average entry price - exit price) x position size

Example: you are long 2 ETH from 1,804.71. At this morning's mark of 1,804.76 your floating PnL shows +0.10 USDT. If you close with a market order that fills at 1,804.50, your closing PnL is -0.42 USDT, before fees. Nothing is wrong with the screen. The two numbers use two different prices.

On a quiet morning the gap is cents. During a fast move, last and mark can separate by much more. A wick in the last price can make the chart look worse than your floating PnL, and a laggy last price can make it look better. Your liquidation follows the mark, and your realized result follows your fill.

The liquidation test

KCEX's rule: liquidation happens when position margin plus floating PnL is less than or equal to the maintenance margin. Rearranged, and ignoring fees as the FAQ does:

  • Long: liquidation price = entry - (position margin - maintenance margin) / size
  • Short: liquidation price = entry + (position margin - maintenance margin) / size

Worked example with an illustrative maintenance figure (read the real one from the pair's risk-limit tier):

  • Long 1 ETH at 1,804.71 with 10x isolated margin. Position margin = 180.47 USDT.
  • Suppose maintenance margin is 0.5% of notional, about 9.02 USDT.
  • Liquidation price = 1,804.71 - (180.47 - 9.02) / 1 = about 1,633.26, roughly 9.5% below entry.
  • The same trade short: liquidation price about 1,976.16.

Change the inputs and the line moves:

  • Higher leverage shrinks position margin, so the liquidation price moves closer.
  • A larger position can fall into a higher risk tier with a higher maintenance rate, which also pulls it closer.
  • Fees are left out of the FAQ formula, but in practice they reduce margin, so the real line sits a little nearer than the clean math.
  • Adding margin to an isolated position pushes the line away.

Why traders get surprised

  1. They watch last price and forget the engine reads mark.
  2. They set leverage first and size second, then the tier changes underneath them.
  3. They read the fee schedule from a help page instead of the order panel.
  4. They treat the estimated liquidation price as a stop-loss. It is not. It is the point where the system takes over.

A five-line pre-trade check on KCEX

  1. Read last, mark and index in the pair header.
  2. Calculate the notional: price x size.
  3. Choose margin mode and leverage, then read the estimated liquidation price on the order form.
  4. Place your own stop well before that line.
  5. Confirm the live maker and taker fee on the panel.

The same logic works on $BTC.USDT, $SOL.USDT, $XRP.USDT and $STX.USDT. Only the tier table and the numbers change, so do the check per pair, every time you change size.

FAQ

Which price does KCEX use for unrealized PnL?

The mark price, which KCEX also uses for the liquidation price.

Why did my profit shrink after closing?

Closing PnL uses your actual fill, and fees and funding are deducted, so it can be below the floating figure.

Where do I find current KCEX futures fees?

On the live order panel. Help-center pages can be older than the current fee schedule.

Open an account