Skip to content
Koria
Open appGet funded

How simulation works

On this page

This is the most unusual thing about Koria, and the thing most worth understanding before you buy an account.

No order is ever sent to Lighter

Every order and every fill on Koria is simulated. Koria never sends an order to Lighter, and it holds no Lighter key that could. Koria reads Lighter's public market data (the order book, trades, prices and funding) and keeps its own copy of it. Your orders are matched against that copy, inside Koria.

Your capital is simulated too. The Size of your account is not money you deposited, it is not held anywhere, and nobody lends it to you. The only money you ever send is the access fee.

How an order is filled

An order is filled against Lighter's live order book, as Koria's copy holds it at that moment:

  • A market order takes the best price on the other side of the book, then the next, level by level, until its size is filled. Its price is the average of the levels it took, weighted by size. That is what a market order would cost on Lighter, spread and depth included.
  • If the book is too thin to fill the whole size, the order is refused. A market order never fills partly: you never hold a position larger or smaller than the position you confirmed.
  • A limit order that can fill at once fills like a market order, but never past your price.
  • A resting limit order fills in full, at exactly your price, when Lighter's best price on the other side reaches it and the book there is deep enough for your size. If it is not deep enough, the order keeps waiting.
  • Stops, take-profits and stop-losses trigger on Lighter's mark price, then fill like a market order. A take-profit or stop-loss the book cannot fill at that moment is tried again, never dropped: it is your protection.

Every fill records the price levels it was filled from, so "why did my order fill at that price" can be answered from the fill itself, months later.

What you pay to trade

There are no trading fees: no commission on a fill, and no markup on Lighter's spread.

Funding is on. An open position pays or receives Lighter's funding rate at Lighter's funding times, as it would on Lighter. It is the cost of holding a position, not a fee for trading, and it is there so that a crowded position cannot be held for free.

What this means for you

What is real:

  • The prices. Your fills are priced from Lighter's live book, so the spread you pay and the slippage of a large order are the market's.
  • The rules. Loss limits, the profit target and the payout rules are applied by Koria's records exactly as written in these docs.
  • The payout. It is a real transfer of USDG to the payout address you choose, on chain.

What is different from trading on an exchange:

  • Your orders do not move the market. A real order takes liquidity and the next trader gets a worse price; a simulated fill takes nothing from the book. In a thin market, a large order would cost more on Lighter than here. Koria's depth check refuses an order the book cannot fill, but it does not model your own impact.
  • A resting limit fills in full when the price reaches it. On an exchange other orders at your price would be ahead of yours, and you might fill partly or not at all. Koria does not invent a place in a queue it cannot see.
  • Nothing you do here can be liquidated by Lighter, because nothing you do here is on Lighter. An account ends at a loss limit instead: that is a Breach, and the account is Closed.
  • You cannot lose more than the access fee. Losing simulated capital costs you nothing beyond the fee you paid for the account.

Where the payouts come from

If your losses are simulated, so is the money they would have paid: a simulated loss adds nothing to anything. Payouts are funded by account sales, through a payout pool that receives most of every access fee. That is how this industry works, and we would rather say it than let you work it out. The payout pool shows how it is funded and how you can check it.

When the screen and the fill differ

The terminal draws the book, the trades and the chart from its own live connection to Lighter, while your fills are priced from Koria's copy. They can differ for a moment. The fill is always priced from Koria's copy, and the fill records the levels it used. Trading that gap on purpose is a prohibited practice.