Based on quantity available at bid or offer, anyhow there is limit restriction on per order basis so it can be based on situation, liquidity, type of trading( intraday,swing, positional,arbitrage etc). But generally better to use limit order with little higher than offer or at offer price when buying and viceversa to sell to avoid any slippage.