# How these sellers/buyers changes their price in a fraction,When some of their Shares Traded

Suppose I see there are 2 sellers with each 1000, 3000 shares at same price, if i want to buy 1500 shares at market price, by watching & knowing that there are 4000 shares available, if i place market order, sometimes these shares executed at different price, so finally my question is how these sellers changes their price in a fraction when some quantity of their shares sold, which is fast than my market order.

Is they any option to skip the prices when some quantity gets traded or triggered eithier in seller/buyer side â€¦?..

1 Like

Consider thisâ€¦

Seller A wants to sell 1000 shares @105

Seller B wants to sell 3000 shares @ 107

Totally 4000 shares are available in the market.

You want to buy 1500 shares @ marketâ€¦

The exchange will ensure you buy all the 1000 shares @105 from seller A, and then you will get 500 shares @ 107 from seller B. However your average buy price will 105.66

If you are very keen on transacting at a single price you can opt for a limit order instead.

Not all the bids you see are entered manually. Some are through automated programs. They modify the order price frequently using code based some external factors. You can see this in action if you open market depth watch, some limit order will keep on the changing the price, when the quantity is being same.

1 Like

But my Question is if both sellers A&B are at Same Level or at same Price @ 105 , sometimes i see difference in price why it happens ???..

@navin
exchange gets several orders within the second youâ€™re placing the order
if you are getting different prices it means someone else has punched an order only few milliseconds before you and has gotten in front of you

yes, you got my point what iâ€™m trying to find, but how can we do that, if we want do the sameâ€¦

For automated trading, we need to pay more. Then we are able to place order, modify order etc using API calls. So we need to program our own logic using the API calls they provide. Even Zerodha offers these API, you can read more here http://zerodha.com/z-connect/charting-coding-and-backtesting/automation/automating-trades-getting-started