A model for queue position valuation in a limit order book