I have got a question
say, there are 1 buyer and 2 sellers at the share market
1 seller sell 500 shares @ $0.50
another seller sell 500 shares @$1
then the buyer give an offer to the market for 1000 shares @$1
how much will the buyer pay?
does the buyer just pay $1000, and the seller who sell @$0.5 get profit of $250?
or does the buyer ended up paying $750 instead of $1,000?