Skip to main content

Questions tagged [order-execution]

Order Execution is addressing the way to interact optimally with other market participants.

Filter by
Sorted by
Tagged with
1 vote
0 answers
50 views

Explanation of trade half life in Almgren-Chriss paper

In Section 2.3 of Almgren, Robert, and Neil Chriss. "Optimal execution of portfolio transactions." Journal of Risk 3 (2001): 5-40 the authors define the half-life of a trade as $\theta \...
parky's user avatar
  • 11
0 votes
0 answers
21 views

Calculating TWAP for Transaction Cost Analysis

I am looking to perform TCA of several orders. I would normally look to calculate an order's VWAP/ TWAP only relative to the executions of that order. So for instance, calculating an order's TWAP (...
jinx's user avatar
  • 101
1 vote
1 answer
111 views

How do order books work to match trades?

I have some questions about how order matching works: Can an order be matched if the top of the order book on the bid side is lower than the top on the ask side? I would say no since matching would ...
rodrigo's user avatar
  • 65
0 votes
0 answers
75 views

NASDAQ ITCH Order Executed With Price Message

I'm building a basic feed handler with the NASDAQ ITCH sample data and I'm a little confused on Order Execution With Price. From the decoded sample data I've pulled out message type C (section 1.4.2) ...
sam42's user avatar
  • 5
0 votes
2 answers
339 views

Tick data - detection of price moving away

I was wondering if there are any industry methods for detecting short term rapid price movements with L1 tick data for equities. Ideally should be robust/general enough to work for a wide range of ...
des224's user avatar
  • 73
0 votes
1 answer
75 views

LOBSTER Execution Price

I'm using LOBSTER data to observe order execution. I'm taking the message data and grouping events by order ID to trace their life cycle. I've noticed that, for example, if a buy order for 1000 is ...
sam42's user avatar
  • 5
2 votes
1 answer
142 views

Reference for Aggregated Temporary Price Impact

I am wondering if someone knows relevant literature on the joint temporary price impact. The temporary price impact here refers to the difference between the best ask/bid price and transaction price ...
FoolAlex's user avatar
  • 111
1 vote
1 answer
334 views

Improve Trade Execution For Mid-Frequency Futures Systems

I know this is kind of a very open ended question but I am struggling with the following problem: I have a futures trading system (operating on very liquid markets) that generates a prediction every ...
Neo's user avatar
  • 13
3 votes
0 answers
217 views

Is this an optimal stopping problem?

I am trying to work out how to approach a machine learning problem of 'learning' an optimal liquidation time/threshold, under some conditions, from historic data. The idea is a trader armed with this ...
Zac's user avatar
  • 207
0 votes
1 answer
111 views

If a market maker wanted to avoid filling option orders from a specific account, what information could they use?

FIX has a few fields that do or could contain identifying information for equity option orders, the “Actionable Identifier” field in particular, although the OCC states here that “It will not be ...
opq's user avatar
  • 1
2 votes
1 answer
444 views

How were High Frequency Traders able to front-run in this example from Flash Boys?

I am re-reading Michael Lewis' Flash Boys book, and I have a question about how a High Frequency Trader was able to front-run an order in a particular example mentioned in the book. On page 78, ...
Hamish Gibson's user avatar
1 vote
1 answer
572 views

Dealing with the Inventory Risk (Lehalle, Gueant, Tapia): Delta T parameter and actual order duration

Reference paper: Dealing with the Inventory Risk (Lehalle, Gueant, Tapia) ∆T is the time horizon over which you compute the intensities of aggressive orders (you get the k and A parameters) I have two ...
LaGabriella's user avatar
0 votes
1 answer
140 views

Do IOC Orders Stay on the Order Book for Any Period of Time

I'm confused on whether or not an IOC (Immediate Or Cancel) order will stay on the order book for any period of time. For example, if I place an IOC buy limit order at \$1.00 and the ask price is $1....
Bob Marshall's user avatar
2 votes
0 answers
76 views

how to do hedging in global market give the time zone issue [closed]

Hi I am considering a question: Give you have a global portfolio, consisting of U.S stocks, Euro Stocks or even Japan stocks and you have to rebalance daily according to my calculated trading signals. ...
coco's user avatar
  • 21
2 votes
0 answers
159 views

MOC or TAS mechanism to trade stock options?

Wonder if anyone can help. Is there a product or mechanism to trade cleared stock options at the settlement price, in the same manner to Market on Close orders or Trade at Settle on commodity markets?...
Tom Weston's user avatar
1 vote
0 answers
38 views

Better to "work order" or just give best limit price when placing multi-leg option orders through IB with SMART routing

I place option trades usually consisting of 2-4 legs...mostly ratios spreads through IB using the SMART routing algorithm. Say for a particular trade, the bid is 0.04 debit and the ask is 0.17 debit. ...
486DX2-66's user avatar
0 votes
1 answer
65 views

What is meant by "a stop order may trigger another stop order?"

I came across this phrase today in my studies without examples, so I am unclear what the meaning is. This is in the context of stop market orders. Is it referring to the scenario where, say, some ...
student010101's user avatar
0 votes
2 answers
95 views

How are piled-up orders matched?

Suppose that the market is closed, but orders are queued up to be matched as soon as the market opens. Suppose for simplicity that only two orders are queued: A sell order to sell 1 unit at \$1.00 A ...
user2520938's user avatar
0 votes
2 answers
357 views

Determine market and ice-berg order types from live trade and quote data

I have tick and quote live data from Polygon and Interactive Brokers. Looking at the conditions I can't see info on market or iceberg orders: https://polygon.io/docs/...
morleyc's user avatar
  • 55
0 votes
1 answer
207 views

Execution Strategies

I have a rather broad question. Not sure how to best put it. Does anyone have any papers/resources on how to improve the execution model of any strategy? Would it be different if strategy under ...
nimbus3000's user avatar
1 vote
1 answer
177 views

Exchange order matching system/core for local testing

I am looking for a service that can be deployed locally or connected to it and would emulate the order matching system of exchange (a.k.a matching core). I remember, that I have seen on GitHub repo, ...
AlexZeDim's user avatar
  • 221
1 vote
2 answers
367 views

What's the optimal way to size a limit order?

Say Bob wants to buy \$30 million worth of APPL stock at a price of \$130. He decides to use a limit order. But posting a $30 million limit order would drive the price up and prevent him from being ...
Dylan Kerler's user avatar
4 votes
3 answers
528 views

Order Replacement Trade-off for a Market Maker

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 ...
nimbus3000's user avatar
0 votes
0 answers
100 views

Optimal order placement in limit order markets

I am reading the paper: https://sci-hub.do/10.1080/14697688.2016.1190030 because I want to split the target shares in market order book and limit order book. I have a question when it comes to page 10 ...
Nhân Thành's user avatar
1 vote
1 answer
131 views

How do limit order prices meet?

I understand how limit orders work but I don't know how do they meet. Suppose the book of a ticker ABC is empty. Trader 1 sends a buy limit order for 1 share of ABC at 2\$, and at the same time (...
Ignasi Piqué Muntané's user avatar
2 votes
0 answers
242 views

Markov Property in Optimal Execution?

After reading papers on reinforcement learning with respect to the problem of optimal execution (Nevmyvaka et al (2006), Ning et al (2018), etc), I was wondering if the Markov property assumed in all ...
pSrIoGcNeAsLs - bye stackGPT's user avatar
3 votes
3 answers
474 views

Pegged Orders Positioning

I have a strategy that involves being first in the order queue in a tight market where the tick can change from bid to ask or ask to bid by one tick. I am looking at pegged orders so when the bid ...
Nivvii's user avatar
  • 31
2 votes
1 answer
431 views

D-Limit and Crumbling Quote Indicator

I've been following the development of the D-Limit order at IEX for some time. In the last couple of days I see the SEC has been sued by Citadel Securities for approving this order type. Can anyone ...
StackG's user avatar
  • 3,056
1 vote
1 answer
1k views

Can someone explain to me the square root law of market impact?

The square root law is shown here: Market impact, why square root? Let's say I want to execute 100 lots. But I have never executed before so I have no idea what n is historically. How would I ...
confused's user avatar
  • 717
0 votes
1 answer
345 views

How Crypto Exchanges handle overlapping orders when self trading is disabled?

I am unsure how a typical "matching engine" handles overlapping orders (in my case, Deribit). I would be just as interested in how any crypto exchange handles the situation. The user has ...
WhySoDifficult's user avatar
0 votes
1 answer
95 views

Why does Canada allow merely 9% spread between the trailing stop price and its limit offset?

I'm assuming that "limit offset" just means "limit price". Help & How-to | Questrade There is no maximum allowable spread between the limit offset and the trailing stop price ...
user avatar
0 votes
0 answers
112 views

Optimal trading given frequently delivered directional forecast

I am interest in trading by optimally exploiting a directional forecast given by an oracle. The oracle predicts directionally the price of an asset (higher or lower than at the moment of forecast ...
Lester Jack's user avatar
0 votes
1 answer
5k views

Difference between Order Expire and Order Done for Day (DFD)

Whats the difference between Order Expire and Order Done for Day (DFD) ? In general and from FIX protocol point of view.
abnv's user avatar
  • 11
2 votes
1 answer
922 views

Market Making Formulation

I'm developing a deep reinforcement learning based approach to market-making. In order to implement this, I need to define the appropriate actions and define environmental steps. While doing some ...
BGa's user avatar
  • 169
1 vote
1 answer
212 views

Do Institutions (large trading firms) use market orders?

It is well known that Institutional traders (Large trading firms, market makers) most of the time use LIMIT orders or Hidden limit orders. My question is, do they ever use market orders in their ...
noobforever's user avatar
0 votes
2 answers
208 views

How does a Stock Exchange Provider implement a Stop-Loss Order?

If I place a stop loss order at my provider. Is this order directly forwarded to the stock exchange? Or does my provider implement this logic. If so, do they have to declare any delays that arise by ...
hpc64's user avatar
  • 3
0 votes
0 answers
46 views

Best practice to optimize trading price, once I've already decided to sell or buy in next few days

I'm investing in long term. By different means not related to this question, I've already decided that I want to buy or sell a particular instrument, but I'm not in such a hurry: I'm still allowing a ...
jmgonet's user avatar
  • 121
1 vote
1 answer
397 views

Accurate model but execution in backtesting is losing money

I have a binary classification model that predicts BUY (1) and SELL (-1) with an out of sample F1 score of 71% (precision is 65% and recall is 80%). The model's output is a probability of a BUY label ...
PyRsquared's user avatar
2 votes
0 answers
188 views

Competitive levels in Limit Order Books

I've been doing some research on electronic Limit Order Books (mainly equities) and I was wondering if anyone has seen a paper on how to compute competitive limit order prices. By competitive, I mean ...
New quant's user avatar
0 votes
1 answer
513 views

Market makers order execution on the order book

If a market maker is required to always have at least one order on a certain side of the order book (buy or sell), if there's no one else in the market and just market makers left on the book, will ...
Owen B's user avatar
  • 1
3 votes
3 answers
1k views

How is market buy order executed when meeting both market sell order and limit sell order?

Currently, we all know how market buy order is executed when meeting only limit sell order for time-priority rule.
olivia's user avatar
  • 209
0 votes
1 answer
97 views

Translating Order books accounting for fees

I am trying to understand how fee structure plays into how I should best execute a trade. Say there are two exchanges with the following order book: Exchange A: Bid Qty | Bid Price | Ask Price | ...
koon93's user avatar
  • 183
3 votes
0 answers
771 views

Probability of getting a fill of a given size

Question is quite simple, what is the probability of getting a fill for: (i) a limit order of size - $s$ (ii) that is $\Delta$ away from the mid-price (iii) in the next $t$ minutes given ...
naz's user avatar
  • 305
2 votes
0 answers
118 views

Why not to maximize Sharpe Ratio directly when computing optimal allocation of an order?

I was reading the following paper of Engle about balancing transaction costs performance and risk: https://www.nber.org/papers/w12165.pdf He deals with finding the optimal placement of the child ...
FriedPanda's user avatar
6 votes
2 answers
1k views

How can one effectively approximate the fill portion of a limit order in a FIFO order book given it's recent state?

What methods could one use to find the step wise probability of a partial or full fill of an order in the best ask/bid level of a limit order book given the historic best ask and best bid quantities ...
James's user avatar
  • 163
2 votes
1 answer
562 views

Standard ways of simulating order books

What are some standard simple ways of simulating an order book? I have found this paper, but it is missing the implementation details. And more importantly, it appears that it ignores the size of the ...
naz's user avatar
  • 305
1 vote
0 answers
63 views

how to test OMS functionality via FIX?

Has anyone done app dev that tests OMS functionality ( FIX ) ? Do any brokers or other financial entities make test apis available ?
BaltoStar's user avatar
  • 131
2 votes
2 answers
259 views

Achieving an even distribution of orders in the queue

Baron Law, Frederi Viens: Market Making under a Weakly Consistent Limit Order Book Model contains the following paragraph "The market maker may achieve her target execution profile by ...
wildbunny's user avatar
  • 649
0 votes
1 answer
606 views

Algo trading execution simulation

Disclaimer: Brand new to high frequency algo trading. Background:I have tick-by-tick trade data for stock A and I have joined the price and volume data for each trade with the previous snapshot of ...
John Doe's user avatar
  • 387
1 vote
2 answers
112 views

Difference between Stop sell and limit sell

Currently studying Market Microstructure. A proposition says that for liquidating a position, we never set a limit sell order, but a stop loss. Practically, shouldn't these be the same (stop loss ...
alexbougias's user avatar
  • 1,426