SELL BUY
2 btc at 10 euros <--mister a order
1 btc at 230 1 btc at 220
1 btc at 240 1 btc at 210
1 btc at 250 1 btc at 200
so why he will not buy 2 at 10 euros?
and same for inverse:
SELL BUY
2 btc at 250 euros <--mister b order
1 btc at 230 1 btc at 220
1 btc at 240 1 btc at 210
1 btc at 250 1 btc at 200
why mister a will not sell for 250?
el kaka22 is correct.
Mister A's sell order will fill against the standing BUY orders. He will receive 430 (215 per BTC) and will spend 2 BTC.
Mister B's buy order will fill against the standing Sell orders. He will receive 2 BTC and will spend 470 (235 per BTC).
The remaining order book will be:
Mister A's sell order will fill against the standing BUY orders. He will receive 430 (215 per BTC) and will spend 2 BTC.
Mister B's buy order will fill against the standing Sell orders. He will receive 2 BTC and will spend 470 (235 per BTC).
The remaining order book will be:
Code:
SELL BUY
1 BTC at 250 1 BTC at 200