What it means
A basket brings several intended stock trades into one plan. Each line identifies a stock, whether it is to be bought or sold, the number of shares, and any execution conditions. Basket trading means coordinating the execution of those lines rather than considering each trade in isolation. A basket can include purchases, sales, or both; it does not have to match an index.
The word basket describes the group, not a single order type or a guarantee that all lines will fill together. Depending on the broker and execution method, lines may fill at different times or prices, fill only partly, or fail to fill. Program trading often refers to automated trading of a basket, but a basket can also be planned without automated execution.
How it is calculated
Basket trading has no single defining formula. To measure the size and composition of a proposed basket, calculate each line’s reference value and its share of the total:
V_i = Q_i × P_i; G = Σ |V_i|; w_i = |V_i| / G
V_iis linei’s reference value in US$: share quantityQ_imultiplied by reference priceP_iin US$ per share. Use a negative quantity for a sale if calculating signed values.Gis the gross reference value in US$: the sum of the absolute values of all lines, so sales do not cancel purchases.w_iis linei’s fraction of gross basket value. Multiply by 100 for a percentage. Gross weights add to 100%.
These reference values are not final proceeds or spending. Actual fills, bid-ask spreads, market impact, fees, and partial fills can change execution outcomes. Net value, Σ V_i, answers a different question: the signed difference between planned purchases and sales at reference prices.
Worked example
Suppose a hypothetical investor plans three trades at round-number reference prices:
| Line | Side | Shares | Reference price | Signed reference value |
|---|---|---|---|---|
| Stock A | Buy | 100 | US$50 | +US$5,000 |
| Stock B | Buy | 200 | US$20 | +US$4,000 |
| Stock C | Sell | 50 | US$40 | −US$2,000 |
- Multiply shares by reference price for each line: US$5,000, US$4,000, and −US$2,000, with the minus sign denoting a sale.
- Add their absolute values: gross basket value is US$5,000 + US$4,000 + US$2,000 = US$11,000.
- Divide each absolute line value by US$11,000. The gross weights are approximately 45.45%, 36.36%, and 18.18%, respectively; the displayed percentages may not sum to exactly 100% because of rounding.
- Add signed values separately: net reference value is US$5,000 + US$4,000 − US$2,000 = US$7,000. That is not the basket’s gross size or its execution cost.
The figures are hypothetical reference values, not expected fill prices or returns.
Why it matters before you trade
Several individually manageable trades can create a combined exposure that is easy to miss. Gross weights show how much of the plan rests on each line; grouping lines by sector, country, or currency can reveal additional concentration. A basket containing several stocks in one sector is not necessarily diversified just because it has several tickers.
Execution also needs a line-by-line check. Order size relative to a stock’s daily volume, estimated spread, and market impact may differ sharply across the basket. If one line is delayed or only partly filled while others execute, the resulting holdings may differ from the intended mix. A pre-trade check therefore considers both the whole basket and the feasibility and risks of each line.
How PreTrAIde uses it
PreTrAIde lets a user build a basket of one or more stocks, specifying a buy or sell side, quantity, and execution conditions for each. Its Pre-trade analysis runs before any order is placed and returns GO, NO-GO, or MODIFY verdicts for both the basket and each line, alongside model-estimated success probabilities, risk assessments, suggested execution strategies, and plain-language reasoning. A success probability is a model estimate, not a guarantee or a return forecast.
Its quantitative layer assesses estimated spread, participation in daily volume, market impact, volatility, liquidity, and portfolio breakdowns; it also calculates a Herfindahl-Hirschman concentration index. PreTrAIde is decision-support software, not a broker: it does not receive, transmit, or execute orders. Users place any trades themselves through their own broker.
Common mistakes
- Treating gross and net value as interchangeable. A sale reduces signed net value but still contributes to gross activity and may incur execution costs.
- Assuming coordinated means simultaneous. Lines can fill differently, leaving an unintended interim mix.
- Equating more tickers with diversification. Stocks can share sector, country, currency, or other exposures.
- Using reference prices as fill prices. Spreads, market impact, and timing can change the amounts actually paid or received.
- Treating an analysis verdict as an order. A pre-trade assessment does not execute the basket or recommend a trade.