Questions tagged [order-execution]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
96 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 ...
user avatar
  • 93
0 votes
1 answer
46 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....
user avatar
2 votes
0 answers
69 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. ...
user avatar
  • 21
2 votes
0 answers
45 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?...
user avatar
1 vote
0 answers
27 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. ...
user avatar
0 votes
1 answer
53 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 ...
user avatar
0 votes
2 answers
82 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 ...
user avatar
0 votes
2 answers
151 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/...
user avatar
  • 55
0 votes
0 answers
100 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 ...
user avatar
1 vote
0 answers
48 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, ...
user avatar
  • 219
1 vote
2 answers
253 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 ...
user avatar
3 votes
1 answer
239 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 ...
user avatar
0 votes
0 answers
58 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 ...
user avatar
1 vote
1 answer
106 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 (...
user avatar
2 votes
0 answers
212 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 ...
user avatar
3 votes
3 answers
196 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 ...
user avatar
  • 31
2 votes
1 answer
220 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 ...
user avatar
  • 2,846
0 votes
1 answer
468 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 ...
user avatar
  • 619
0 votes
1 answer
172 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 ...
user avatar
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
59 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 ...
user avatar
0 votes
1 answer
2k 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.
user avatar
  • 11
3 votes
0 answers
366 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 ...
user avatar
  • 61
1 vote
1 answer
120 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 ...
user avatar
0 votes
2 answers
114 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 ...
user avatar
  • 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 ...
user avatar
  • 111
1 vote
1 answer
270 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 ...
user avatar
0 votes
1 answer
285 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 ...
user avatar
  • 1
3 votes
3 answers
759 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.
user avatar
  • 179
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 | ...
user avatar
  • 183
2 votes
0 answers
90 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 ...
user avatar
5 votes
2 answers
442 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 ...
user avatar
  • 153
2 votes
0 answers
138 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 ...
user avatar
  • 283
1 vote
0 answers
47 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 ?
user avatar
  • 131
2 votes
1 answer
178 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 ...
user avatar
  • 607
0 votes
1 answer
350 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 ...
user avatar
  • 367
1 vote
2 answers
99 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 ...
user avatar
  • 1,346
1 vote
0 answers
44 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 ...
user avatar
  • 111
2 votes
2 answers
116 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? ...
user avatar
5 votes
1 answer
692 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 ...
user avatar
4 votes
1 answer
789 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 ...
user avatar
1 vote
1 answer
113 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 ...
user avatar
5 votes
0 answers
525 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 ...
user avatar
  • 952
1 vote
0 answers
145 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
user avatar
  • 183
4 votes
2 answers
377 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 ...
user avatar
0 votes
2 answers
117 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 ...
user avatar
  • 123
3 votes
5 answers
818 views

Python everywhere but where do they execute orders?

About every introduction I've read about automatic trading writes about how well python is suited for the task. But looking around, I've been able to find just one brooker, Oanda, which has a python ...
user avatar
  • 133
3 votes
1 answer
150 views

What approaches are there for keeping local and remote order books in sync?

Scenario: developing a custom application which defines a structured workflow for manual order submission to Bloomberg EMSX; it should minimize own persisted state and rely on the remote order book as ...
user avatar
  • 175
8 votes
1 answer
225 views

Execution quality for illiquid securities

The SEC's execution quality statistics measurements (Rule 605) arguably does a poor job at measuring the execution quality of ...
user avatar
  • 131
6 votes
2 answers
5k views

Send TRAIL STOP order when price hits a certain level, with IB TWS

Posting here after searching around and not finding any responses to basically the same question that I saw on EliteTrader, with another variant posted 10 years ago (update: the same question on Money)...
user avatar
  • 517