order quantity in equity cash segment

if i buy 500 quantity of any company shares which have good volatility in equity cash segment so my order gets filled or not?
or how much quantity can be buyed in equity cash segment?

Depends. 500 qty is not that big quantity for high liquid scripts like yesbank, reliance, hdfcbank, infy…etc. For instance, if you place 10000 qty market order for yesbank. It will be executed in a fraction of seconds. Trader can decide tradable quantity on any specific script based some data such as volume, total buyer/seller, spread between bid and offer.