6

If a bitcoin exchange offers Market Orders, let's suppose there are X buy orders at market price, and Y sell orders at market price (no limit orders):

How are these matched and at what price, since there is no "lowest or highest" price currently on the order book?

closed as off topic by eMansipater, o0'., Stéphane Gimenez, Colin Dean, Gopoi May 13 '13 at 4:26

Questions on Bitcoin Stack Exchange are expected to relate to Bitcoin within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Then, all trades would be executed at the last trade price. Price remains the same irrespective of trade volume. – vi.su. Apr 25 '13 at 3:06
  • @vi.su, I've never seen that documented to occur that way and would argue that is not correct according to the definition of a Market order. – Stephen Gornick Apr 25 '13 at 5:23
  • Is this a Bitcoin question? – eMansipater Apr 25 '13 at 5:49
  • @StephenGornick, I am not sure. but, per your answer, there would be no trades; yet there are buyers and sellers who are willing to trade at current market price. – vi.su. Apr 25 '13 at 7:51
1

Market buy order means buy for whatever is current lowest ask. Market sell order means sell for the current highest bid. Market orders should be executed as long as there is any buyer and seller, but may not be filed for the desired quantity. In the case that there are no limit orders on either side, market maker would establish a spread for profit. In fact, market makers profit from market orders and existing limit orders spread also in ordinary circumstances.

  • 1
    Factual crap. You can not have 2 market orders active at the same time - a market order is executed against whatever is in the book on the other side. THEN then ext order is put in. 2 market orders would NOT define a spread as a spread requires fixed prices. Fail on the basics how exchanges work. – TomTom Apr 6 '15 at 16:00
3

This situation would not exist. True market orders (buy or sell) cannot just "hang" around. If they are not executed immediately against existing limit orders, then they should be cancelled. The case in which they would not be executed would be if there are no orders on the other side. In which case it depends on how the system handles the orders but it should either say it can't fill it and never place the order to begin with.

  • That pretty much is it. A good exchange processes order requests in sequence. A market order is seen, processed, then ends either filled or in an error condition. A limit order gets entered into the queue. As such, it is not possible to only have market orders. THAT SAID - you may as well have no market order at all. CME does that (not bitcoin, a real exchange). A market order is transformed, internally, into a limit order with the limit on the other side. That stops brutally runaway pricing. – TomTom Apr 6 '15 at 16:02
-1

Contractually, the market BUY order had no SELL (ASKs) to trade against. So that order remains unfilled.

At the same time the market SELL order had no BUY (BIDs) to trade against. So that order also remains open.

And they remain open until either cancelled or until a limit order arrives.

  • Uh? No, this doesn't make sense: if they are market orders, and there isn't anything in the order book, they should just be rejected. Market orders shouldn't fallback to limit orders, as this answer seems to imply. AFAIK. – o0'. Apr 25 '13 at 9:44
  • Actually they do on real exchanges. CME has no market order - a market order is internally seen as a limit order with quote some limit. This allows a market maker to pick up the "remaining". – TomTom Apr 6 '15 at 16:03

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