Hello,
Imagine this is the order book on btc-e:
SELL BUY
1 btc at 230 1 btc at 220
1 btc at 240 1 btc at 210
1 btc at 250 1 btc at 200
now, in same time
mister A put a SELL order of 2 btc at 10 euros AND and mister B put a BUY order of 2 btc at 250
at what price mister a will sell his 2 btc?
at what price mister b will sellbuy his 2 btc?
in advance thanks
It is not clear enough if the price in the buy order and sell order is in euro or USD so I'll assume that they are in euro to make it simple and It seem pretty sick to sell it at 10 euros while there are someone buying at 220
Mr. A will sell his 2
BTC at the price of 220 and 210 , so he will get 430 euros for 2
BTC minus the trading fee from btc-e. The system doesnt allow you to sell the price lower than the buy order in the order book even if you intended to sell them for 1 euro
Mr. B will buy his 2
BTC at the price of 230 and 240, so he will spend 470 euros for 2
BTC plus the trading fee from btc-e. The system will automatically execute your buy order at the lower price since there is an order at 230 and 240 for 2
BTC .
and where those two 2 btc 250 have gone ? there is only one btc sold at 250
if we assume that those 2 btc at 10, will be sold at 250(like it should work)
then you have
SELL BUY
2 btc at 250
1 btc at 230 1 btc at 220
1 btc at 240 1 btc at 210
3 btc at 250 1 btc at 200
so unless i'm missing something, it should be A, sell his btc at 470(1 at 250 and one at 220) and b simply buy it at 250 x 2, so 500
i did i mistake i mean 490 for the mister B(250+240)