2

When an electronic market reopens in the morning how exactly are all the bids (including market orders from both sides) handled?

A good answer should include a description of the process the exchange uses to determine the outcome, that is orders executed and at what price.

Consider for example the following order book: enter image description here

2
  • 1
    Does this answer your question? – nanoman Apr 14 '20 at 21:35
  • @nanoman, it seems to go along way and helps explain why Dheer was talking about a price algorithm. I am confused about whether this algorithm is secret or why it should need to be. – hkBst Apr 16 '20 at 7:17
0

Between the below 2 questions you will have answers to your question.

If you still have doubts, please ask a specific question.

How are unmarketable market orders (other side of the order book is empty) matched with incoming orders?

How do exchanges match limit orders?

2
  • Your answer to the first question, specifically scenario 1 is helpful but also seems to highlight that the opening has very specific rules that may even be exchange-dependent. – hkBst Apr 14 '20 at 13:53
  • @hkBst Yes. The exact logic for price algorithm is secret and not shared and different for exchange. Broadly conceptually it would be similar, but specifics would be different. – Dheer Apr 14 '20 at 15:45
-1

When an order is placed, it receives a time stamp. The time stamp determines the priority of an order on the order book. Earlier orders at a given price are executed before later orders at that price. This occurs for buy orders and for sell orders.

It's worth knowing that cancel/replace orders where you lower the number of shares/contracts in an order do not lose their time priority. However, you cannot cancel/replace with a larger number of shares in your order because that effectively let's you cut in line and prevent others from trading.

3
  • 1
    This answer answer explains the ordinary functioning of a market that is already open, but it does not explain how the situation at the opening of the market is handled and does not talk about market orders from both sides. – hkBst Apr 14 '20 at 8:00
  • 2
    Actually it does. See, the timestamp (or serial number) is done ON ENTERING THE ORDER and per definition nothing enters the ticker plant in parallel (because at the end it is a serial process). So you DO have a serial order to build a book upon. THE OPENING price otoh depends - on exchange. Time not to ask on an internet forum but RTFM - every exchange documents this and it varies, at least possibly by country. – TomTom Apr 14 '20 at 11:43
  • It depends on the specific exchange and their procedures. Opening procedures are described in their rule-book. It is possible for a cancel-replace increasing the number of shares to occupy two positions in the order book at that price-level, and would depend on the matching engine's programming. Market-on-open orders are a bad idea in general... – xirt Apr 29 '20 at 5:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.