Buy market order
A buy market order buys immediately at the best asks in the order book. It guarantees the whole position at once, but not the price.
It takes the lowest ask first, and if your size is bigger than what waits there, the next asks up. In a thin book or a fast rise you pay more than the price you saw: that is slippage. The opposite is a sell market order.
Learn more: types of orders.