3.3. Residual Fix-ups
A tradebook lists the trades your broker carried out. Some shares reach your demat account without a trade: shares bought before the period your tradebook covers, shares moved in from another demat, shares allotted in an IPO. When you later sell them, the tradebook shows the sale, and nowhere shows how you came to hold them.
Tradestory notices this. When the sales of a stock at a broker add up to more than its purchases, that stock needs your help, and Tradestory lists it as a residual fix-up. In this section, we look at the list and at the two ways to settle an entry on it.
The Fix-ups List
Uploading the small tradebook into Book issues gives three open positions and three stocks that need help. The menu shows the count beside Load, and Load → Residual Fix-ups shows the list. Figure 3-1 shows it, with ASIANPAINT opened.
Residual Fix-ups
Needs you (3)
- ASIANPAINTzerodhashort 50
- BAJAJHFLzerodhashort 214
- COFORGEzerodhashort 100
Opening balances
ASIANPAINT · zerodha · sold 50, bought 0
| Date | Type | Qty | Price ₹ | |
|---|---|---|---|---|
| 2025-09-15 | SELL | 50 | 2,502.6 |
Each entry is one stock at one broker, which Tradestory calls a lane. Each shows how many shares it is short. ASIANPAINT, at Zerodha, was sold 50 shares on 15 September 2025, and the tradebook has no purchase of it at all.
There are two ways to settle a lane: ignore the sale, or tell Tradestory how you came to hold the shares.
Ignoring a Sale
Tick the sale and choose Ignore selected. You can give a reason, such as bought before this tradebook. The lane leaves the list.
An ignored trade is left out of every calculation: positions, profit and loss, and the equity curve alike. For ASIANPAINT, that means the stock disappears from Tradestory entirely, along with the result of selling it. An ignored trade can be brought back at any time: open the lane, tick it and choose Restore.
Ignoring is quick, and it suits a trade you truly want left out. For shares you really did own, there is a fuller way.
Adding an Opening Balance
An opening balance tells Tradestory that you held some shares on a given date, at a given average price, before your tradebook begins. Choose + Add opening balance and fill in:
| Field | ASIANPAINT |
|---|---|
| Symbol | ASIANPAINT |
| Broker | Zerodha |
| Date | 1 June 2023 |
| Qty on this date | 100 |
| Avg price ₹ on this date | 3,240.70 |
| Exchange | NSE |
| Note | Bought before tradebook start |
Notice the quantity: 100 shares, the number actually bought, while the lane was short only 50. Our example investor bought 100 shares in June 2023 and sold half of them in September 2025. The opening balance records what really happened, and Tradestory works out the rest: the lane balances and leaves the list, and ASIANPAINT appears among the open positions with the 50 shares still held.
The two ways give different pictures of the same portfolio. Here they are side by side, as of 16 October 2026:
| Sale ignored | Opening balance added | |
|---|---|---|
| Equity curve starts | July 2024 | June 2023 |
| ASIANPAINT | not shown | 50 shares open, at ₹3,240.70 |
| Realised profit or loss | +₹837 | −₹36,068 |
| Capital invested | ₹5,91,467 | ₹7,90,407 |
With the opening balance, the realised result includes the loss on the 50 shares sold at ₹2,502.60 against their cost of ₹3,240.70. With the sale ignored, that loss is out of sight, and so are the 50 shares still held.
When a Split Came in Between
A stock can split, or issue bonus shares, between the day you bought it and the day you sold. COFORGE is our example. The investor bought 20 shares on 1 March 2024. COFORGE then split each share into five on 4 June 2025, so the 20 shares became 100, and the investor sold 100 in September 2025.
Enter the opening balance just as you bought it: 20 shares at ₹6,504.70 on 1 March 2024. You never work out the split yourself. As soon as the date and quantity are in, the form shows a notice beneath it, as in Figure 3-2.
Add opening balance
×5 split went ex on 2025-06-04, after this date.
20 shares then = 100 today.
Lane is short 100 ✓ balances
The notice reads ×5 split went ex on 2025-06-04, after this date. and then 20 shares then = 100 today. It also confirms that this entry balances the lane. Once saved, COFORGE moves to Past Positions as a closed position: bought for ₹1,30,094 and sold for ₹1,76,460, a realised gain of ₹46,366.
Splits and bonuses after a purchase are applied the same way everywhere in Tradestory, without any help from you. Appendix C lists the corporate actions Tradestory handles.
One lane is left, BAJAJHFL. Its shares came from an IPO, which has a screen of its own: IPO allotments.