An order book and a trade book look similar on a broker trading platform. They answer completely different questions. While the order book tracks pending orders, the trade book records completed transactions.
This article discusses the difference between the order book and the trade book.
Key Takeaways
- Use the order book to gauge real-time market liquidity before entering a trade, but rely on the trade book to verify completed transactions.
- Monitor partial fills in your trade book, as a single large order may execute across different price tiers and timestamps.
- Review broker-issued contract notes (such as Common Contract Notes) alongside your trade book to calculate capital gains and ensure accurate tax returns.
- Treat order book data as temporary intent; only executed entries in your trade book create tax liabilities or alter your portfolio cost basis.
What is an Order Book?
When traders refer to an order book, they usually mean their user order book (the personal dashboard tracking their own active or pending orders). However, an order book can also refer to the market order book (the exchange-wide ledger of all outstanding bids and asks across all market participants).
An order book is a real-time ledger of all outstanding buy and sell orders for a security, organised by price points to reflect live market liquidity. It updates as you enter new instructions or withdraw pending quotes.
| Component | What It Shows |
| Bid Price and Quantity | Prices and sizes at which buyers are willing to purchase. |
| Ask (Offer) Price and Quantity | Prices and sizes at which sellers are willing to release shares. |
| Market Depth | Multi-level price brackets (such as 5-level or 20-level depth) displaying aggregate order volume. |
| Best Bid and Ask | The highest active buying price and the lowest active selling price in the market. |
Features of an Order Book
-
Real-time updates: Fluctuates constantly throughout the trading session as users place, modify, or cancel orders.
-
Market depth: Typically shows the top 5 to 20 levels of matching bids and asks, tracking aggregated volume at specific price points.
-
Unmatched Status: Contains exclusively pending instructions that have not yet found a counterparty on the exchange matching engine.
What is a Trade Book?
A trade book logs orders that have been fully matched and executed. Unlike the order book, which tracks market availability, the trade book documents completed transactions, establishing definitive execution prices and quantities.
| Component | What It Shows |
| Executed Price | The final rate at which the transaction cleared. |
| Executed Quantity | The exact number of shares filled during the execution match. |
| Timestamp | The precise second the trade executed on the exchange matching engine. |
| Buy/Sell Indicator | Identifies whether the entry represents an acquisition or a disposal. |
Features of a Trade Book
-
Immutable historical log: Serves as a permanent electronic archive of completed trades for the trading session or financial period.
-
Execution metrics: Captures the precise cleared price, executed quantity, timestamp, and transaction type.
-
Parent-to-child splitting: Automatically breaks single large orders into multiple partial execution lines if filled across different price ticks.
Order Book vs Trade Book: Key Differences
| Feature | Order Book | Trade Book |
| Nature | Pending, unmatched market intent. | Matched, final executed transactions. |
| Lifecycle | Volatile and continuously changing. | Static historical ledger. |
| Primary Utility | Evaluating market depth and liquidity before order entry. | Capital gains calculation, tax filing, and holding reconciliation. |
| Visibility | Publicly visible across aggregate market depth. | Private, accessible only to the individual trader and regulators. |
The Order Lifecycle: From Placement to Execution
Understanding how an order transitions through various states helps clarify why information shifts between platforms:
-
Placed: The investor submits a buy or sell instruction through their broker trading terminal.
-
Pending / Queued: The order sits in the user and market order books awaiting a matching counterparty at the specified price.
-
Executed: Once matched, the order fills, drops out of the active order book, and permanently logs into the Trade Book.
-
Cancelled / Rejected: If the order is manually withdrawn by the user or rejected due to insufficient margin or exchange limits, it stays strictly within the order book logs as inactive and never reaches the trade book.
Advantages and Disadvantages of an Order Book
Pros
-
Improves entry and exit timing: Helps traders spot liquidity clusters and large institutional block walls before placing an order.
-
Minimises price slippage: Evaluating depth prevents accidental market-order spikes in low-liquidity mid-cap or small-cap scripts.
Cons
-
Prone to Spoofing: Large pending orders can be cancelled at the last second by institutional players, giving false signals of market support.
-
Zero Historical Value: Once a trading session closes or orders are cleared, the data is ephemeral and cannot be used for tax or accounting reconciliation.
Also Read About: Market Order vs Limit Order
Advantages and Disadvantages of a Trade Book
Pros
-
Audit and compliance-ready: Aligns directly with SEBI-mandated contract notes and Common Contract Notes (CCN) for verified proof of transactions.
-
Essential for tax filing: Provides the exact cost basis and timestamps required to calculate short-term and long-term capital gains accurately.
Cons
-
No predictive power: Unlike the order book, it is a lagging indicator. It shows what already happened, offering no guidance on live market sentiment.
-
Cluttered multi-line entries: Partial fills can make manual reconciliation tedious if an investor does not rely on consolidated broker ledgers.
Example: How an Entry Moves From Order Book to Trade Book
An investor places a limit order to purchase 1,000 shares of a company at ₹250.
Step 1: Order enters the order book
| Order Book (before match) | Price | Quantity |
| Buy order (new) | ₹250 | 1,000 |
| Existing sell order | ₹250 | 600 |
| Existing sell order | ₹251 | 500 |
Step 2: Matching occurs
The exchange first matches the new buy order against available sell orders at ₹250, since that is the best-matching price.
Step 3: Result reflected across both books
| Book | What it now shows |
| Order Book |
600 shares of the original buy order are matched and removed. Remaining 400 shares stay pending at ₹250, or move to the next best available price depending on order settings |
| Trade Book | A new entry appears: 600 shares bought at ₹250, timestamped at the moment of execution |
This example shows why a single order can appear as multiple entries in the trade book if it fills in parts, even though it was placed as one single order in the order book.
Why Understanding This Difference Matters for Investors
-
Execution vs Intent: Relying on the order book gives insight into near-term price momentum and slippage risks, but it has zero financial or tax relevance.
-
Cost basis tracking: The trade book provides the verified execution prices needed to compute accurate cost bases for long-term tracking.
-
Audit and compliance: Executed entries match directly against broker-issued contract notes, safeguarding your records during tax scrutiny.
Regulatory Framework: SEBI and Standardised Records
Under SEBI guidelines, registered intermediaries must supply transparent records for all transactions:
-
Mandatory contract notes: Issued for every execution, detailing exact brokerage, statutory levies, and trade pricing.
-
Common Contract Note (CCN): Streamlines multi-exchange trading into a consolidated document utilising a uniform Volume Weighted Average Price (VWAP) model for cleaner reconciliation.
-
Straight Through Processing (STP): Minimises manual intervention across institutional and high-frequency order flows.
How the Trade Book Connects to Tax Filing
Tax authorities assess capital gains based strictly on realised execution values sourced from the trade book and contract notes.
| Tax Component | Equity Tax Treatment (FY 2025-26 & FY 2026-27 Framework) |
| Short-Term Capital Gains (STCG) | Taxed at a flat 20% under Section 111A for listed equities held for 12 months or less. |
| Long-Term Capital Gains (LTCG) | Taxed at 12.5% under Section 112A for listed equities held beyond 12 months, with an annual exemption limit of ₹1.25 lakh. |
| Cancelled/Pending Orders | Generate no tax liability because they never convert into trade book entries. |
Also Read About: Difference Between Section 111A and 112A
Conclusion
An order book and a trade book serve two very different functions on a trading platform: one is a live snapshot of market intent, and the other is a permanent record of completed transactions. Understanding this distinction helps investors use the order book to make better-informed decisions.
