← Glossary

Trading & DeFi

What Is a Market Order? Buying or Selling at the Current Price

A market order is an instruction to buy or sell an asset immediately at the best available current price, guaranteeing execution but not the exact price you will receive.

Key takeaways

What it does

A market order says: buy or sell now, at whatever the best price is. It prioritises speed over price. In an order book, it takes the best available orders on the other side until it is filled. A buy market order lifts the lowest asks, and a sell market order hits the highest bids.

The price you actually get

Because it takes whatever is available, the average price can be worse than the last quoted price, especially for large orders. If the best ask only has a small quantity, the rest of your order fills at higher prices further up the book. That difference between the expected and executed price is slippage. In a thin or fast-moving market, it can be large.

The spread as a cost

A market order always crosses the spread: you buy at the ask and sell at the bid. The spread is a cost of trading immediately, and it is wider in markets with few participants. Compare it with a limit order, which lets you wait for a better price at the risk of not trading at all.

On decentralised exchanges

A token swap in a wallet is effectively a market order against a liquidity pool. The pool's formula sets the price and moves it with every trade, so larger trades cost more per token. Wallets show the price impact and let you set a slippage limit that cancels the trade if the price moves too far before it executes. That limit is your protection against an unexpectedly bad fill.

When to use one

Use a market order when speed matters more than the last bit of price, the size is small relative to market depth and you have checked the quoted spread or price impact. For larger trades in thin markets, consider splitting the trade or using limit orders.

Example

A sell order for 1,000 tokens hits a book where 300 are bid at 10.00, 400 at 9.95 and 300 at 9.90. Your average price is (300×10.00 + 400×9.95 + 300×9.90) ÷ 1,000 = 9.95, lower than the top bid.

Put it into practice

Check the price impact before you confirm

Scrypt Wallet's swap form shows price impact before you confirm. If it is high for your size, split the trade or pick a deeper market.

Create a free wallet Get Scrypt for Android

Frequently asked questions

Is a market order the same as a swap?

On a decentralised exchange a swap behaves like a market order, with the price set by the pool.

Why did I get a worse price than quoted?

The quote reflects the top of the book or the pool's current state. Large orders move the price as they fill.

How do I limit the damage?

Check the price impact, set a slippage limit and split big trades.

Related terms

Go deeper

Written by the Scrypt Wallet team · Updated 2026-10-02. General education, not financial, tax or legal advice.