High frequency trading limit order book

High frequency trading limit order book

Content

As we saw in the in the first article of the series , the objective of electronic markets is to match participants that are willing to sell an asset with participants that are willing to buy it. This is mainly done via two types of orders: market orders and limit orders. Market orders MO are sent by participants that are willing to either buy or sell the asset immediately, preferably at the best available price. Limit orders LO , however, do not share this urgency: these orders show the interest of the participant to buy or sell the asset at a particular price.

As we saw in the in the first article of the series , the objective of electronic markets is to match participants that are willing to sell an asset with participants that are willing to buy it. This is mainly done via two types of orders: market orders and limit orders. Market orders MO are sent by participants that are willing to either buy or sell the asset immediately, preferably at the best available price. Limit orders LO , however, do not share this urgency: these orders show the interest of the participant to buy or sell the asset at a particular price.

Therefore, these orders are not generally executed immediately, since they will have to wait until some other participant is willing to fill the order at the price given by the LO — if such a participant ever arrives. Of course, the participant that sent the LO can decide to cancel it at any given point, if he or she feels it is convenient to do so.

Therefore, the price of a traded security is not given by a unique price. It is actually a collection of prices, which are given by all the available limit orders. These prices form the limit order book LOB. Therefore, issuing limit orders increases liquidity of the asset — they make liquidity. MOs, however, have the opposite effect: since they are matched with LOs, they effectively take liquidity from the market.

The difference between the bid and ask prices is called the quoted spread :. Common sense indicates that, in order to avoid arbitrate opportunities, the bid price cannot be larger than the ask price — that is, the quoted spread cannot be negative — although in special situations this does not hold.

Generally, the size of the quoted spread depends on how liquid the security is: securities with high liquidity tend to have small quoted spreads, since the large number of LOs in the LOB tend to decrease the quoted spread. Illiquid assets, however, will usually have larger spreads.

In some sense, the size of the quoted spread will determine the cost of trading, since the quoted spread is the price a trader will have to pay if he or she immediately buys and sells an asset at the best available price, assuming there are no other trading costs.

This cost will be low in very liquid assets, but in illiquid assets this cost is something that should definitely not be overlooked. As we have discussed, a security will never have a unique price.

However, it is often useful to try to give a unique number as a representative of the price of the traded security. A popular way of doing so is computing the midprice , which is just the average of the bid and ask prices:.

However, this price may be a bit unrealistic when the volume of limit orders at the best bid and ask prices differ significantly. In these cases, the microprice may be more useful, since it weights the bid and ask prices with the volumes posted at the best bid and ask prices:. For example, if the volume of limit orders posted at the best bid price is significantly larger than the volume of limit orders at the best ask price, the microprice will be pushed towards the ask price.

Fig 1 - LOB of a certain security. The quoted spread and midprice are indicated in the figure. Figure from Cartea, A.

In the next article we will analyse the problem of optimal execution, where the objective is to either buy or sell a large amount of shares of a stock in an optimal way, in order to minimise price movements that are caused by our own trades.

Understanding how market microstructure works is crucial to solve the task, as we will see. Join the Quantcademy membership portal that caters to the rapidly-growing retail quant trader community and learn how to increase your strategy profitability. How to find new trading strategy ideas and objectively assess them for your portfolio using a Python-based backtesting engine.

How to implement advanced trading strategies using time series analysis, machine learning and Bayesian statistics with R and Python. Cambridge University Press. The Quantcademy Join the Quantcademy membership portal that caters to the rapidly-growing retail quant trader community and learn how to increase your strategy profitability. Find Out More. Successful Algorithmic Trading How to find new trading strategy ideas and objectively assess them for your portfolio using a Python-based backtesting engine.

Advanced Algorithmic Trading How to implement advanced trading strategies using time series analysis, machine learning and Bayesian statistics with R and Python.

Market orders (MO) are sent by participants that are willing to either buy or sell the asset immediately, preferably at the best available price. Limit orders (LO). High-frequency trading in a limit order book. Marco Avellaneda & Sasha Stoikov. April 24, Abstract. We study a stock dealer's strategy for submitting bid.

This book brings together the latest research in the areas of market microstructure and high-frequency finance along with new econometric methods to address critical practical issues in these areas of research. Thirteen chapters, each of which makes a valuable and significant contribution to the existing literature have been brought together, spanning a wide range of topics including information asymmetry and the information content in limit order books, high-frequency return distribution models, multivariate volatility forecasting, analysis of individual trading behaviour, the analysis of liquidity, price discovery across markets, market microstructure models and the information content of order flow. These issues are central both to the rapidly expanding practice of high frequency trading in financial markets and to the further development of the academic literature in this area. The volume will therefore be of immediate interest to practitioners and academics. Enter your mobile number or email address below and we'll send you a link to download the free Kindle App.

Related publications
Яндекс.Метрика