4
$\begingroup$

Whenever we replace an order, we lost priority since we are added to the end of the queue. If we dont replace an order, there is an obvious chance that we might get picked. There are other situations possible, when we replace deeper back and forth in the book and keep losing priority. Is there any literature which discusses this trade off and what is an optimal way of replacing orders?

$\endgroup$
3
  • 1
    $\begingroup$ > we might get picked Can you elaborate? If the order reflects your intention to buy, why is it bad if a counter order is matched? Also, some exchanges support ORDER_MOVE which can be used to speed-up price changes. $\endgroup$ Jan 24, 2021 at 14:00
  • $\begingroup$ as a market maker, i need to replace my order if the market moves, else i will be picked and traded at the wrong price. $\endgroup$
    – nimbus3000
    Jan 24, 2021 at 14:25
  • $\begingroup$ I'd be curios to learn more about this topic as well, but the simple solution is to cancel all orders in periods of volatility, unless the data feed for the underlying runs on microwave from the rooftop tower. $\endgroup$ Jan 24, 2021 at 16:58

3 Answers 3

3
$\begingroup$

they are now plenty of academic resources to address the point of interacting with liquidity via limit orders:

If you want to focus more on the price at which you post than on the queuing strategy, you may have a look at this paper: Laruelle, Sophie, Charles-Albert Lehalle, and Gilles Pagès. "Optimal posting price of limit orders: learning by trading." Mathematics and Financial Economics 7, no. 3 (2013): 359-403. It is a RL approach to guess the best price by trial and error.

And if the most important for you is the sequence of quotes you will offer during the day, having in mind to finish the day with zero inventory, this one is for you: Guéant, Olivier, Charles-Albert Lehalle, and Joaquin Fernandez-Tapia. "Dealing with the inventory risk: a solution to the market making problem." Mathematics and financial economics 7 (2013): 477-507.

$\endgroup$
0
$\begingroup$
  1. An order loses time priority when its replace size is higher than current size at same price.
  2. An order does not lose time priority when replace size is lower or equal to earlier size at same price.

Build a probabilistic model of order being filled at various price depths and sizes. Doing this for a single instrument uncorrelated is comparatively simpler, however for correlated instruments like options of same underlying is harder.

You may refer to the following -

Guo, Xin, Zhao Ruan, and Lingjiong Zhu. "Dynamics of order positions and related queues in a limit order book." arXiv preprint arXiv:1505.04810 (2015).

Moallemi, Ciamac C., and Kai Yuan. "A model for queue position valuation in a limit order book." Columbia Business School Research Paper 17-70 (2016).

$\endgroup$
2
  • $\begingroup$ different exchanges and different products have different prioritisation algorithms. Also how orders are programatically interfaced with the exchange may affect their priority. $\endgroup$
    – Attack68
    Feb 1, 2021 at 11:38
  • $\begingroup$ thats absolutely true - CME itself supports multiple matching algorithms for different products - cmegroup.com/confluence/display/EPICSANDBOX/… $\endgroup$
    – shoonya
    Feb 2, 2021 at 4:03
0
$\begingroup$

There is no easy answer when it comes to deciding whether or not to replace an order. Each situation is unique and must be evaluated on its own merits. However, there are some general guidelines that can be followed in order to make the best decision possible.

Whenever possible, try to avoid replacing an order. This is because each time an order is replaced, you lose your place in line and are added to the end of the queue. This can obviously have a negative impact on your chances of getting picked.

There are other situations where replacing an order may be beneficial, such as when you are deeper in the book and have a better chance of getting picked. In these cases, it is important to weigh the pros and cons of replacing an order before making a decision.

The best way to evaluate whether or not to replace an order is to consult with literature on the subject. This will help you to understand the trade-offs involved and make the best decision possible.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.