The price of your gold bar is fixed when you choose to purchase and is locked in when you execute an order, regardless of any price movement between the purchase and subsequent delivery.