What it means
A basket brings proposed stock trades into one view rather than treating every order in isolation. Each line identifies a stock, whether the proposed trade is a buy or sell, its share quantity, and any execution conditions. A basket can contain one stock or several; the word describes how the trades are grouped, not a separate security.
A basket used for planning is not necessarily an order sent to a broker. Its lines might be submitted separately, together, or not at all. A basket can also mix buys and sells, such as when someone is considering changes to existing holdings. Those sides matter: a sale reduces an existing position only if the investor holds the shares being sold.
How it is calculated
There is no single formula that defines a stock basket. Two useful calculations are its gross reference value and each line's gross-value weight:
Gross basket value = Σ(quantity_i × reference price_i)Gross-value weight_i = (quantity_i × reference price_i) / gross basket value × 100%
Here, i identifies a basket line; quantity_i is its number of shares; and reference price_i is an assumed price per share, in US$ for a US stock. Gross basket value is in US$ and counts both buys and sells as positive amounts. A gross-value weight is a percentage of that total, not necessarily a post-trade portfolio weight. These calculations require a positive gross basket value.
For a mixed basket, signed net cash flow is a different measure: Estimated net cash flow = Σ(s_i × quantity_i × reference price_i), where s_i is +1 for a sale and −1 for a purchase. A positive result means estimated cash received. Reference prices do not determine actual fill prices, and these formulas exclude trading costs.
Worked example
Suppose a hypothetical basket contains three US-stock trades at round reference prices:
| Line | Side | Shares | Reference price | Gross line value |
|---|---|---|---|---|
| Stock A | Buy | 100 | US$20 | US$2,000 |
| Stock B | Buy | 50 | US$40 | US$2,000 |
| Stock C | Sell | 25 | US$40 | US$1,000 |
- Multiply shares by reference price for each line: US$2,000, US$2,000 and US$1,000.
- Add the positive line values: gross basket value is US$5,000.
- Divide each line value by US$5,000: the gross-value weights are 40%, 40% and 20%.
- Apply the sides to estimate cash flow: the sale brings in US$1,000, while the purchases use US$4,000. Estimated net cash flow is −US$3,000, before trading costs.
The 20% weight of the sale does not mean Stock C will represent 20% of the investor's holdings afterward. That would depend on the holdings before these trades and whether the orders fill.
Why it matters before you trade
Grouping trades exposes questions that single-order checks can miss. Are several lines concentrated in one sector or country? Does a large order represent a substantial share of a stock's typical daily volume? Could estimated spread and market impact make one line especially costly? A mix of buys and sells also requires distinguishing gross trading activity from the net cash needed.
Execution conditions and market liquidity can differ by stock. One line might fill while another remains unfilled or partially filled, leaving a different set of holdings from the one originally considered. Basket-level analysis provides context, but it does not remove line-level execution risk or ensure that all proposed trades happen together.
How PreTrAIde uses it
The stock basket is the unit of PreTrAIde's pre-trade analysis. A user enters one or more stocks, each with a buy or sell side, quantity and execution conditions, before placing any order. PreTrAIde returns a GO, NO-GO or MODIFY verdict for both the basket and each line, alongside a model-estimated success probability, risk assessment, suggested execution strategy and plain-language reasoning. The probability is not a guarantee or a return forecast.
Its quantitative layer includes estimated spreads, participation in daily volume, market impact, volatility, 1-day 95% value at risk, portfolio breakdowns and a Herfindahl-Hirschman concentration index. PreTrAIde is analysis software: it does not receive, transmit or execute orders. Its verdicts support a decision; they are not recommendations.
Common mistakes
- Confusing gross value with cash required. Buys and sells both count toward gross value, but affect estimated cash flow in opposite directions.
- Treating trade weights as portfolio weights. Post-trade holdings depend on starting positions, fills and prices.
- Assuming simultaneous execution. Grouped analysis does not guarantee that every line fills, or fills at the reference price.
- Ignoring individual lines. A modest basket total can still contain a line with significant liquidity or execution risk.