> For the complete documentation index, see [llms.txt](https://docs.asterdex.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.asterdex.com/trading/perpetuals/order-types/market-order-slippage-tolerance.md).

# Market Order Slippage Tolerance

### Overview

Market Order Slippage Tolerance allows you to set the maximum price difference you're willing to accept when placing a Market Order.

When enabled, Aster automatically converts your Market Order into an Immediate-Or-Cancel (IOC) Limit Order using your selected slippage tolerance. If there isn't enough liquidity within your specified price range, any unfilled portion of the order will be cancelled.

***

## How It Works

You can set slippage tolerance using either:

* Price Amount
* Percentage

Aster calculates a limit price based on your selected method and submits the order as an IOC Limit Order.

The order will execute immediately against available liquidity within the calculated limit price. If the entire order cannot be filled, the remaining quantity will be cancelled automatically.

***

## Slippage Tolerance Types

#### By Amount

Set the maximum acceptable price difference as a fixed amount.

For example:

* Best Ask Price: 100 USDT
* Slippage Tolerance: 2 USDT

The maximum execution price for a buy order is:

100 + 2 = 102 USDT

For sell orders, the limit price is calculated using the current Best Bid.

***

#### By Percentage

Set the maximum acceptable price difference as a percentage.

For example:

* Best Ask Price: 100 USDT
* Slippage Tolerance: 1%

The maximum execution price for a buy order is:

100 × (1 + 1%) = 101 USDT

For sell orders, the limit price is calculated using the current Best Bid.

***

## Price Calculation

#### By Amount

Buy Order

Limit Price = Best Ask + Price Amount

Sell Order

Limit Price = Best Bid − Price Amount

#### By Percentage

Buy Order

Limit Price = Best Ask × (1 + Percentage)

Sell Order

Limit Price = Best Bid × (1 − Percentage)

***

## Slippage Tolerance Limits

#### By Amount

* Minimum: One tick size
* Maximum: Current Mark Price × Market Order Price Cap

#### By Percentage

* Minimum: 0.1%
* Maximum: Market Order Price Cap × 100%

***

## Important Notes

* Slippage Tolerance is available only for Market Orders.
* Market Orders with Slippage Tolerance are executed as IOC Limit Orders.
* Orders may be fully or partially filled depending on available market liquidity.
* Any unfilled quantity will be cancelled automatically.

***

## Frequently Asked Questions

#### What is slippage?

Slippage is the difference between the expected price of a Market Order and the actual execution price. It can occur when market prices change quickly or liquidity is limited.

***

#### Why wasn't my order fully filled?

If there isn't enough liquidity within your specified slippage tolerance, only the available quantity will be filled. Any remaining quantity will be cancelled.

***

#### Can my order be partially filled?

Yes. Orders may be partially filled if only part of the order can be executed within your specified slippage tolerance.

<br>
