GUIDES_EDUCATION · 2026-11-05 · Enmerik Markets Desk · 5 min read
Mastering Order Execution: Limit vs. Market Orders on a FIFO Order Book
Understand price-time priority, bid-ask spreads, and how to control slippage when executing trades on Enmerik.
Inside a Price-Time Priority (FIFO) Order Book
Every asset traded on Enmerik matches on a deterministic First-In, First-Out (FIFO) limit order book. Orders are ranked first by best price (highest bid for buyers, lowest ask for sellers) and second by arrival timestamp.
If two traders both place buy limit orders at KES 20.00, the trader whose order arrived first in the matching engine fills first—regardless of account size[1].
Market Orders vs. Limit Orders
Choosing between a market order and a limit order is fundamentally a trade-off between execution certainty and price certainty.
| Metric | Market Order | Limit Order |
|---|---|---|
| Execution Priority | Immediate fill against best book | Rests until price reaches target |
| Price Control | Subject to book depth & slippage | Exact max buy / min sell price |
| Partial Fills | Sweeps levels until filled | Can rest partially filled |
| Best For | Fast entry in deep liquid pairs | Disciplined entries & exits |
When to Use a Limit Order
Use a limit order when you know the exact price you are willing to pay or accept. If you place a buy limit below the current best ask, your order joins the resting bid ladder—adding liquidity to the book instead of crossing the spread.
When to Use a Market Order
Use a market order when immediacy matters more than capturing a few cents of spread—such as exiting a position rapidly during high-volatility news.
NOTE: Before routing any buy or sell order to the matching engine, Enmerik atomically locks only the exact required KES or asset quantity. If you cancel an open or partially filled limit order, the remaining locked balance unlocks immediately back to your available wallet.
Reading Order Book Depth Before Clicking Trade
Before submitting a large ticket, glance at the top 5 price levels on the Order Book panel inside /trade:
- Spread: The gap between the highest green bid and lowest red ask. Tighter spreads mean lower implicit entry cost.
- Cumulative Depth: Check whether the top two levels hold enough quantity to absorb your full market order without sweeping into worse prices.
- Recent Trades Tape: Watch whether aggressive fills are lifting the ask (buying pressure) or hitting the bid (selling pressure).
Footnotes & Technical References
- [1] Enmerik's Order Matching Engine runs in-memory across dedicated worker threads over persistent TCP sockets, achieving sub-5ms deterministic matching without artificial priority lanes.