Skip to content
Learning path Bronze Understand and protect

Buy and sell in trading: orders, long and short

Buy and sell identify the side of an order, not a forecast. Their effect depends on the starting position, executed quantity, account rules, and instrument.

Cite this entry

This reference cites the Cyclepedia entry. The documents it draws on are listed in the entry’s sources.

In plain terms — Buy means sending an order on the purchase side; sell means the sale side. Long and short describe the position that remains. The selected button alone does not say whether you are opening, reducing, or closing.

The effect depends on three facts: the position before the order, the buy or sell side, and the quantity actually executed. A buy may open a long, but it may also close a short. A sell may close a long; it opens a short only where the instrument, account, and rules permit it.

Buy & Sell Order side, execution, and position: three different things BUY Start SHORTReduce or close Start FLATOpen LONG SELL Start LONGReduce or close Start FLATOpen SHORT* ORDER EXECUTION POSITION Side ≠ forecast · order ≠ execution * Only if the instrument and account allow it
Start with the current position, then read the order side and finally the executed quantity. Tap or select one of the four areas for the operational case.

Order, execution, and position are different things

Pressing buy or sell creates an instruction. The position changes only when an execution, or fill, occurs. An order may be rejected, remain open, be partially filled, or complete through several fills. The quantity entered is therefore not always the quantity already traded.

The side and the order type are separate choices. Buy or sell sets the side; market or limit determines how execution is sought. A market order favors immediacy without fixing a price. A limit order imposes its price or better, but may not execute.

Before confirming, check four essentials:

  1. the current position: long, short, or flat;
  2. the quantity to buy or sell;
  3. the selected order type and price;
  4. whether the order may only reduce or may also reverse the position.

One example that removes the ambiguity

You hold a long position of 5 units. A sell of 3 units that fills completely leaves a long of 2: you sold, but you are not short. A sell of 8 may instead close the 5-unit long and open a 3-unit short in net-position systems, if the product and account permit it.

When available, the reduce-only instruction is meant to prevent an order from increasing or reversing the position. The exact technical behavior — rejection, cancellation, or quantity reduction — depends on the platform. It cannot be inferred from the button color.

In cash spot trading, selling normally transfers an asset already available. For stocks, opening a short generally requires a margin account and borrowed shares. Futures, perpetuals, CFDs, and hedge/net position modes may follow different rules: permissions, margin, costs, and position mode must be checked before the click.

Check after sending — Read the order status, executed quantity, average price, and resulting position. “Submitted” does not mean “filled,” and the price seen before the click is not a promise.


Advanced: the order side modifies an existing quantity

In a linear net-position system, the result can be read as:

final position = starting position + executed buys − executed sells

A positive quantity is long, a negative quantity is short, and zero is flat. This explains why the same buy may open a long or cover a short. The relation does not by itself model options, multi-leg strategies, multiple accounts, hedge mode, or contracts with multipliers; those require the platform's own position model.


Sources