The queue value of a limit order is its expected profit per share from the moment it joins a queue: the probability that it fills times the spread it captures on a fill less the adverse selection it suffers after one, net of fees. The value of queue position is the difference between the queue values of orders at the front and at the back of the same queue.
mx_ticks.tick_experiment.