I’ve read the docs, but there are two very important questions that I didn’t see answered that greatly impact how these instruments could be used. Hoping someone knows.
1) Is the limit price guaranteed if the order fills?
If you place a limit order (eg requiring 100% fill) and set a price, is it guaranteed that either the trade doesn’t complete, or the limit price that you set will be the price you get, after all potential front-running/sandwich/MEV shenanigans and gas fees? Or, is this the price that the taker offered, but then once the trade journeys into the mempool something else might happen?
2) What is the time lag between when the limit order is accepted by a buyer/taker and when the transaction is confirmed? During this time, if there is disadvantageous market movement, is it still possible to cancel the limit order? Is it still possible that the order will not go through for some reason, so you can’t act on the certainty that it’s filled?
How long is the time (usually, with reasonable gas offered) from the time that you find out that a limit order has been accepted to the time that the transaction is confirmed? Why I’m asking: do you have to worry that after your limit order is accepted by a buyer/taker at a given price there are several minutes before it’s mined onto the blockchain before it’s actually confirmed, so you bear the risk of any price movement between the time that the limit order was accepted and when it’s confirmed, or the possibility that it is never confirmed, minutes later?
Thank you!