All guides

// Stocks

How to Group Trades Into One Position

Several fills of the same ticker can read as one position with one average price. Here is how grouping works for stocks and options, and the two locks that stop a position changing under you.

5 min readUpdated

One idea usually arrives as several fills. Grouping folds those fills into a single position with one average price and one result, so the log reads the way you actually traded rather than the way your broker filled you.

// 01 · stocks

Grouping stock fills

Stock fills group automatically. There is no action to find: every buy and sell of a ticker joins that ticker’s open position, and the table shows one summary row — average entry, total shares, combined result — with a chevron that expands to the individual fills.

One summary row over two buys. The average and the share count are the position’s; the rows beneath are the fills that made it.

A position runs until you sell out of it completely. The next buy after that starts a new one — or reopens the old one, depending on position locking. That rule, not a grouping action, is what decides where a fill lands.

Analysis reads positions, not fills — so this is also what makes hold time and position size measure the thing you meant.

// 02 · options

Grouping option legs

The options equivalent turns separate legs into one spread. Use Group to fold existing single legs together, or Add Leg to open a new contract already attached to the position.

Group appears only on a single-leg position — it exists to fold separate entries together, so it retires once the position has more than one leg. Add Leg doesn’t retire: on a multi-leg position it moves to the position’s summary row, which is how a spread becomes a condor. Once grouped, the position gets a strategy label and settles as a unit; see settling a spread or condor at expiration.

A single leg’s menu. Both grouping actions are here — Group at the top, Add Leg below the status verbs.

// 03 · undo

Undoing a group

Option grouping is reversible. A multi-leg position has Ungroup Legs at the top of its menu, which returns each leg to standing on its own with its own result.

Ungroup Legs sits on the position’s summary row — not on an individual leg.

Ungrouping doesn’t delete or alter the underlying trades — it only changes how they’re read together.

// 04 · the setting

Position locking

Position locking decides what happens when you rebuy a ticker you had fully sold out of.

SettingRebuying the same ticker
On (default)The sold-out position locks and stays closed. The new purchase starts its own position, keeping each round trip's result separate.
OffThe old position reopens and the new shares join it, blending into one running position.

A locked position carries a padlock you can click for the reason:

No option is named, so this is position locking — the setting, not the covered-call lock.

On suits discrete trades; off suits a long-running holding you add to and trim. It lives with the other account settings — see accounts and preferences.

// 05 · the other lock

Locked by a covered call

The second lock isn’t a setting and can’t be switched off: Position is locked while used as covered call collateral. Close the option trade first.

Those shares are backing an open short call. Letting the lot change underneath the option would leave a covered call with nothing covering it, so the lot is held until the call is closed, expires, or the shares are called away. Record the option’s ending — see how an option position ends — and the lot unlocks on its own.

While it holds, Sell is limited to the shares the calls don’t cover, and Lock Position / Unlock Position are disabled — the position’s status is decided by the option, not by you, until the option ends.

Frequently Asked Questions

Why is my position locked?
Either it was fully sold and position locking is on, so rebuying starts a fresh position rather than reopening the old one, or the shares are backing an open covered call. In the second case, close the option trade first and the lot unlocks.
What does position locking actually do?
It decides what happens when you rebuy a ticker you had sold out of. With it on, the closed position stays closed and the new purchase starts its own position, which keeps each round trip's result separate. With it off, the old position reopens.
Can I undo a grouping?
For options, yes: a multi-leg position has Ungroup Legs on its menu, which returns the legs to standing on their own. Stock fills were never grouped by hand — each belongs to its ticker's position by construction — so there is nothing to undo there; position locking is what decides whether a rebuy joins the old position or starts a new one.

Was this guide helpful?

Start your free journal

Track your trades for free

Ledger-accurate P&L for options and stocks. No credit card required.