Before revision:  We study the dynamics of a limit order book and its influence on the price dynamics and develop a stochastic model to retain the main statistical characteristics of limit order books in illiquid markets .
After revision:  We study the dynamics of a limit order book in order to prevent not filling of orders and facing final inventory costs .