The following types of orders may be executed not at the declared price: Buy Stop, Sell Stop, and Stop Loss.
When these orders are triggered, the system sends the Market order, which is executed at the current price at the time of the order processing. This is the reason why there might be differences between the price specified in the pending order and the execution price.
Other types of pending orders, Buy Limit, Sell Limit, and Take Profit, are executed at the specified or better price, if such price exists on the market when they are executed.