Questions tagged [order]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
3answers
88 views

what happens when a stock price gaps over buy/sell stop order?

Example for clarification. Let's say the stock price is 50 and i am trading intraday on the 5 minute chart and place a sell stop order at 48. But then the next 5 minute candle opens at 45 and goes ...
1
vote
0answers
64 views

What kind of ARMA-GARCH model is that?

My question is what kind of ARMA-GARCH model is the following equation and how to specify it in rugarch R module: $$r_{t+1}- r_t = \alpha_0 + \alpha_1r_t+\...
2
votes
0answers
162 views

How to identify buy walls and sell walls from a limit orderbook?

I am trying to get notified of buy walls and sell walls from a limit orderbook and I had a couple of ideas and would appreciate some insight into these Take the mean quantity and anything above the ...
0
votes
2answers
96 views

Order books theoretical price

Suppose we have the following bid/ask spread for a particular stock: What is the theoretical value of the stock? Now suppose we have: What is the theoretical value of the stock? Now suppose a ...
2
votes
0answers
48 views

IBrokers: How to assign trail amount for order type 'TRAIL'?

I'm using R package IBrokers with IB TWS. I'm trying to create a twsOrder object using twsOrder function: twsOrder(...., orderType = 'TRAIL', ...) How can I ...
1
vote
0answers
33 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 ...
1
vote
0answers
113 views

Is it possible to place hidden order inside spread when trading E-mini S&P 500?

My question is not about hidden orders in general. In equity market a trader can post his hidden order inside spread, is it the same way for E-mini S&P 500?
1
vote
1answer
103 views

Why some exchanges enforce that you send the total quantity (fill qty + open qty) when changing the order size?

Is it to protect against overfills? Can anyone explain in simple terms?
2
votes
2answers
498 views

why is there a cancel/replace message in FIX?

Couldn't we just cancel existing order and enter new order? Is there any other reason apart from a communication overhead that now we need to send 2 messages vs just 1 message to cancel replace?
5
votes
2answers
2k views

Order Execution Algorithms

To execute large orders under minimum price impact or to hide a market view, trading systems sometimes utilize special order execution algorithms or order types. One example is an iceberg order, ...
0
votes
4answers
134 views

How can one get broker order data?

Is there any chance to get order data from any broker with a label from which account it came from? The accounts can be anonymized, i just need to identify an account's orders sent. Any help will ...
1
vote
0answers
41 views

order routing for a fill [closed]

Lets assume a FIFO rules in futures, I buy a contract and id like to sell it. Should I estimate the possibilite of orders on opposite side would be filled first? If I watch new orders incoming at new ...
3
votes
1answer
223 views

How to model bracket orders?

I'm looking for a way to make my own Python backtester (like zipline or pyalgotrade) or improve one of these backtesters. One major lack of these backtesters is the lack of support of bracket orders (...
4
votes
3answers
505 views

What is the correct / expected behavior for a market order sent to an empty book?

Should it stick around until liquidity shows up? (GTC) Should it cancel any size for which there is no liquidity? (IOC) Is there such a thing as Market GTC or Market Orders must always be IOC?
7
votes
3answers
1k views

Papers and algorithms on bidding schemes for best order execution?

I'm building an automated option trading bot that executes common options multi-leg strategies (straddles, spreads) and I want to learn the best way to execute my orders. As you know, the bid-ask ...
2
votes
2answers
286 views

Where do these Orders come from and what do they mean?

Good morning! I was looking at an order book yesterday and saw orders which I haven't seen before. Normally an order in the order book consists of the total volume, the price and how many sellers/...
4
votes
3answers
1k views

How do Order Management/Matching Systems match/allocate orders (and filled prices)?

I am working on an improvement of my company's order allocation system. We run a central Order Management System (OMS) but currently performance attribution from filled orders leaves room for ...
2
votes
2answers
215 views

How do you handle order tracking (without unique Lot ID's)

Hypothetical Trade: I buy 10,000 shares of ASTC using a broker API. The order is filled in 4 similar lots; ...
2
votes
0answers
250 views

Data feed that shows individual orders

Does anyone know how I can obtain time and sales data for a stock? Lots of feeds provide the total volume but I would like to see the breakdown of what buy/sell orders made up the day's volume. I ...
5
votes
3answers
1k views

Is it worth preserving orderbook structure when building it from individual orders?

Say I'm building an order book and two bids come in at price $p$ and volumes $v_1$ and $v_2$. Which option is better To store the order as $\{p, v_1+v_2\}$ or To store the order as $\{p,v_1\}$ and $\{...
1
vote
2answers
780 views

Order and position management in (semi-)automated trading system

A simple and lazy approach to implementing an order and position management (OPM) component in a (semi-)automated trading system: leave most OPM to counter party (broker/exchange). Even then funds ...