Missing OrderAccepted event before MarketOrder fulfillment #2650
-
The question is: should the exchange generate OrderAccepted event before every OrderFulfilled event when the MarketOrder is being executed? I encountered this type of behavior:
The states of MarketOrder: 1) Initialized 2) Submitted 3) Filled |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @Egisess Thanks for reaching out. The current spec is that a market order is not accepted into the limit order book, it is immediately matched against those resting orders - so there is no accepted event generated. This aligns with the behavior of many venues. |
Beta Was this translation helpful? Give feedback.
-
On further research, some venues will send an ACK / NEW prior to a market order fill. |
Beta Was this translation helpful? Give feedback.
Hi @Egisess
Thanks for reaching out.
The current spec is that a market order is not accepted into the limit order book, it is immediately matched against those resting orders - so there is no accepted event generated. This aligns with the behavior of many venues.