The price you set for a pending order may not necessarily match the final execution price. In general, the order may be executed at the price you set.
However, in many cases, the final execution price may slightly differ. Please refer "What are the reasons for slippage?" for more details.

