Questions tagged [order-execution]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

Can a limit order be matched so that average cost of the transaction is below or equal to the limit? [closed]

Suppose I have a limit buy order of 1000 quantity @0.50. Can this be matched with two different sell orders on the top of the order book with 500q @0.49 and 500q @0.51?
0 votes
1 answer
79 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 ...
  • 1
2 votes
1 answer
203 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, ...
1 vote
0 answers
74 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 ...
0 votes
0 answers
319 views

Put call parity with american options

I am trying to back out the put call parity price of an American call option for a 10 min period with tick data (using CME ES Futures Options in this example, see plot below), using the standard PCP ...
  • 93
0 votes
1 answer
58 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....
2 votes
0 answers
70 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. ...
  • 21
2 votes
0 answers
72 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?...
1 vote
0 answers
28 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. ...
0 votes
1 answer
56 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 ...
0 votes
2 answers
84 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 ...
0 votes
2 answers
192 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/...
  • 55
0 votes
1 answer
152 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 ...
1 vote
0 answers
56 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, ...
  • 219
1 vote
2 answers
273 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 ...
3 votes
2 answers
309 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 ...
0 votes
0 answers
73 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 ...
1 vote
1 answer
109 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 (...
2 votes
0 answers
226 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 ...
3 votes
3 answers
235 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 ...
  • 31
2 votes
1 answer
280 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 ...
  • 2,886
0 votes
1 answer
647 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 ...
  • 627
0 votes
1 answer
222 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 ...
0 votes
1 answer
91 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
65 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 ...
0 votes
1 answer
3k 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.
  • 11
3 votes
0 answers
488 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 ...
  • 161
1 vote
1 answer
139 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 ...
0 votes
2 answers
127 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 ...
  • 3
0 votes
0 answers
41 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 ...
  • 121
1 vote
1 answer
312 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 ...
0 votes
1 answer
321 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 ...
  • 1
3 votes
3 answers
783 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.
  • 199
0 votes
1 answer
89 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 | ...
  • 183
2 votes
0 answers
92 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 ...
6 votes
2 answers
639 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 ...
  • 163
2 votes
0 answers
180 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 ...
  • 283
1 vote
0 answers
51 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 ?
  • 131
2 votes
1 answer
189 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 ...
  • 619
0 votes
1 answer
408 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 ...
  • 387
1 vote
2 answers
105 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 ...
  • 1,346
1 vote
0 answers
45 views

How to debit user balance on market buy order?

Suppose that the user's balance is debited before his order is sent to the matching engine. The debiting is done to ensure that the user has sufficient balance and that he is not submitting orders ...
  • 111
2 votes
2 answers
122 views

Does all (or any) exchange eats the positive difference between a buy order and a ask order?

Say Alice asks for 100 for 5 stocks, Rob asks 101 for 5 stocks. Bob really wants to buy the stocks, so he bids $101 for 10 stocks. Does Bob actually pays 100 * 5 + 101 * 5 + fee, or 101 * 10 + fee? ...
5 votes
1 answer
756 views

Optimal execution of illiquid securities

I am using an API to direct orders based on some proprietary buy/sell signal. I am trying to frame a thought process which outlines the slippage/impact risks versus execution risks given the option to ...
4 votes
1 answer
818 views

Best way to buy and sell large volumes of crypto

I had a few questions about how to properly execute a large order of crypto currency without moving the price much. I know a lot of funds employ a TWAP/VWAP algorithm to liquidate or purchase a large ...
1 vote
1 answer
119 views

Question about order book and single player interference

Let us suppose I have 1 Million US Dollars, and I am given an ask value of 0.45 USD per share in a given share. Let us call it MRD3. If I place an order of the type bid, in which I offer only 0.01 USD ...
5 votes
0 answers
554 views

What is the proportion of aggressive orders vs passive orders executed by different types of traders?

It's clear that each aggressive order (or market order or limit crossing BBO) is matched against the same volume of resting limit order(s). I'm interested in statistics per different types of ...
  • 962
1 vote
0 answers
153 views

Investment Bank VWAP Execution ranking

Is there a ranking of Investment Banks institutional VWAP execution algorithms anywhere (who beats the benchmark price most consistently and by how much)? Thanks
  • 183
4 votes
2 answers
387 views

Algorithmic Execution Literature/References

I am going to join the equity execution arm of an investment bank soon. I have minimal exposure to algorithmic execution, and am looking to increase my knowledge on the topic. Can someone provide a ...
0 votes
2 answers
122 views

Fill prices on limit and market orders

Suppose the book of ticker X is empty. Simultaneously trader A sends a limit buy order for 1 unit of ...
  • 123