Orders and trades
An order is your instruction to buy or sell: how much, at what price and under what condition. A trade is what results when an order meets an opposite one. This is a basics-level lesson: the kinds of orders, how each of them pays for execution, and why a trade’s result is almost always a little worse than it looks on the chart.
Long and short
Long (a long position) — you bought and make money if the price rises. Short (a short position) — you sold something you did not have and make money if the price falls: later you have to buy it back cheaper.
With futures, a short is as simple as a long: selling a contract opens a short position, and there is nothing to borrow. In the stock market, shorting means selling shares borrowed from the broker — a margin trade with a borrowing fee and collateral requirements; more in the lesson Margin and leverage. An important difference: the loss on a long is limited by the price falling to zero, while the loss on a short as the price rises is, formally, unlimited.
Market and limit orders
How orders meet in the book is covered in the lesson How price is formed. Here is a practical comparison.
| Order | Guarantees | Pays with |
|---|---|---|
| Market | Immediate execution, if there is volume on the other side. | Price: a buy goes through at the Ask and above, a sell at the Bid and below; a large order goes through several levels. |
| Limit | Price: no worse than the one specified. | Execution: the order may not be filled at all or only partly, and it is more often filled when the market is moving against you. |
The last property of a limit order is not obvious. A limit buy below the market is filled only if someone sold to you at that price, that is, if the price came down to it. If the price went up without touching your order, you are left without a position in exactly the trade that would have been profitable. This “invisible” cost is called adverse selection.
Partial fills
A limit order for 500 lots may be filled for 120: there were only that many opposite orders at your price, and the remainder keeps resting in the order book. A market order can also be partly filled if there is less volume on the other side of the book than you asked for, or if the broker caps it with a price limit. Before treating a position as open, check how much was actually filled.
Stop orders
A stop order waits until the price reaches the stop price and only then turns into a regular order:
- stop-market — into a market order: it will certainly be filled, but at whatever price is in the order book at that moment;
- stop-limit — into a limit order with a price limit: it will be filled no worse than the limit, but may not be filled at all if the price jumps past it.
Stop orders are used in two ways: to enter a move on a breakout of a level (buy when the price rises above it) and to limit a loss.
Stop-loss and take-profit
A stop-loss closes a position when the price reaches the loss level you are willing to accept. A take-profit closes it at the target. Both are tied to the position, not to an individual buy or sell.
A stop-loss does not guarantee the exit price. If it is executed with a market order at a moment when the price is falling fast and the order book is thin, the position will close worse than the stop price. If trading opens with a gap below the stop, the first trade will already be at the post-gap price. That is why, when calculating risk, an allowance for slippage is added to the distance to the stop — how to do this is covered in the lesson Risk and position size.
Trading costs
Every trade costs money, even if the price does not change:
- broker commission and exchange fee — usually a percentage of the trade amount in the stock market and a fixed amount per contract in the derivatives market; the exact rates are in your broker’s and the exchange’s fee schedules;
- spread — when entering and exiting with market orders, you pay the difference between Bid and Ask;
- slippage — the difference between the price you counted on and the price you were filled at: due to price movement while the order was in transit, several levels of the order book, or a stop triggering in a fast market.
The Moscow Exchange fees and an example of the full cost of an entry and an exit are in the lesson Fees and taxes on the Moscow Exchange. For a long-term investor these amounts are small. For a trader who makes dozens of trades a day aiming for a few ticks, they often decide whether the result is positive. Example: if the average winning trade makes 6 ticks and the round-trip costs (entry and exit) are 2 ticks, a third of the potential profit goes to costs before losing trades are even taken into account.
That is why scalpers keep costs under control: they trade liquid instruments with a tight spread, enter with limit orders where they can, choose a fee plan suited to frequent trading, and set a target several times larger than the round-trip cost.
In the JetScalp terminal
How to place orders from the order book is described in Market orders, Limit orders, Stop orders, Stop loss and Take profit.
Common mistakes
- Placing a stop-loss where the price “shouldn’t reach” rather than where the trade idea stops working. A stop is the point where the idea is invalidated, not a hope.
- Ignoring costs when choosing a target. A two-tick target with a one-tick spread plus commission leaves almost no room for profit.
- Treating a limit order as free. It does not pay the spread, but it pays with missed trades and adverse selection.
Summary
- A long makes money on a rise and a short on a fall; shorting shares is a margin trade, while shorting a futures contract is an ordinary sale of the contract.
- A market order guarantees execution, a limit order guarantees the price; neither guarantees both.
- A stop order turns into a market or limit order when the stop price is reached; a stop-loss does not guarantee the exit price.
- Costs — commissions, the spread and slippage — are noticeable in frequent trading, so they are calculated in advance and kept under control: liquid instruments, limit orders, a target several times larger than the costs.
Check yourself
- Why is a limit buy below the market more often filled in “bad” trades?
- How does a stop-market differ from a stop-limit during a sharp price move?
- The trade target is 5 ticks and the round-trip costs are 1.5 ticks. What share of the gross profit do costs eat up in a winning trade?