Optimal Decisions in a Time Priority Queue

42 Pages Posted: 6 Feb 2017

Date Written: February 4, 2017

Abstract

We show how the position of a limit order in the queue influences the decision of whether to cancel the order or let it rest. Using ultra high-frequency data from the Nasdaq exchange, we perform empirical analysis on various limit order book events and propose novel ways for modelling some of these events, including cancellation of limit orders in various positions and size of market orders. Based on our empirical findings, we develop a queuing model that captures stylized facts on the data. This model includes a distinct feature which allows for a potentially random effect due to the agent's impulse control. We apply the queuing model in an algorithmic trading setting by considering an agent maximizing her expected utility through placing and cancelling of limit orders. The agent's optimal strategy is presented after calibrating the model to real data. A simulation study shows that for the same level of standard deviation of terminal wealth, the optimal strategy has a 2.5% higher mean compared to a strategy which ignores the effect of position; or a 8.8% lower standard deviation for the same level of mean. This extra gain stems from posting a limit order during adverse conditions and obtaining a good queue position before conditions become favourable.

Keywords: algorithmic trading, high frequency trading, limit order book, queuing model, order flow, impulse control, adverse selection

JEL Classification: C41, C61, G11

Suggested Citation

Donnelly, Ryan Francis and Gan, Luhui, Optimal Decisions in a Time Priority Queue (February 4, 2017). Available at SSRN: https://ssrn.com/abstract=2911540 or http://dx.doi.org/10.2139/ssrn.2911540

Ryan Francis Donnelly (Contact Author)

King's College London ( email )

Strand
London, England WC2R 2LS
United Kingdom

Luhui Gan

University of Toronto ( email )

105 St George Street
Toronto, Ontario M5S 3G8
Canada

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
410
Abstract Views
2,353
Rank
143,675
PlumX Metrics