@Preetham you can place market orders in SmartAPI. They will be converted to Limit orders before sending it to the exchanges by MPP.
But it is better that the user himself sends limit orders so that the algo can predict if the orders are going into pending state.