3.6. Sales With No Purchase
When a lane sold more than it bought, some shares came to you without a trade. Tradestory offers up to four fixes, depending on what it sees.
- Bought before my history adds an opening balance.
- Got them in an IPO records an IPO allotment.
- Moved from another broker records a move from a broker you also upload.
- A fill shouldn't count leaves a trade out.
Let's take each fix with an example.
Bought Before My History
An opening balance tells Tradestory that you held some shares from a given date, at a given cost, before your tradebook begins. Say you bought 100 shares of ASIANPAINT in June 2023, before the tradebook starts, and sold 50 of them in September 2025.
Choose Bought before my history. A dialog opens with the symbol and the demat filled in, and the number of shares that would balance the lane suggested. Fill in what really happened:
| Field | ASIANPAINT |
|---|---|
| Date held from | 1 June 2023 |
| Quantity (shares) | 100 |
| Cost per share (₹) | 3,240.70 |
| Exchange | NSE |
| Note (optional) | Bought before tradebook start |
Notice the quantity. It is 100 shares, the number actually bought, while the lane was short only 50. The opening balance records what happened, and Tradestory works out the rest. The lane is settled, and ASIANPAINT appears among the open positions with the 50 shares still held.
A holding you bought before your tradebook begins and never sold shows no gap at all, so no lane asks for it. If you loaded only your recent history, add its opening balance yourself with Add opening balance at the top of the Fix-ups page.
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. Say you bought 20 shares of COFORGE on 1 March 2024. COFORGE then split each share into five on 4 June 2025, so the 20 shares became 100, and you 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 dialog shows a notice, as in Figure 3-4.
Add opening balance
×5 split went ex on 4 Jun 2025, after this date.
20 shares then = 100 today. Lane is short 100 balances
The notice says that the split went ex after this date, and that 20 shares then are 100 today. It also confirms that this entry balances the lane. Once saved, COFORGE moves to Past Positions as a closed position. It was bought for ₹1,30,094 and sold for ₹1,76,460, a realised gain of ₹46,366. Opened later, the opening balance still shows how many shares it holds today, and the split that multiplied it.
Got Them in an IPO
Shares allotted in an IPO arrive in your demat without a trade. Say you were allotted 214 shares of BAJAJHFL in its IPO, and sold them on 16 September 2024 at ₹165.
Choose Got them in an IPO. The same dialog opens, set to IPO allotment. Fill in the allotment date of 12 September 2024, 214 shares and an allotment price of ₹70. Once saved, the allotment becomes the first tranche of the position. BAJAJHFL moves to Past Positions, and its realised gain is ₹20,330. The allotment is also listed on Corporate actions. We met that page in section 3.4.
Moved From Another Broker
Shares moved from one demat to another arrive without a trade too. When another broker you upload holds the same stock, Tradestory offers Moved from another broker. You choose the broker the shares came from and the date of the move. The shares then leave that broker's position and open at this one, at their own cost. This fix appears only when another broker's tradebook holds the stock.
A Fill That Shouldn't Count
Sometimes a trade itself is the problem. It may belong to someone else's account, or to a period you want left out. Choose A fill shouldn't count. Then tick the trade in the lane's list below, and ignore it. You can give a reason.
An ignored trade is left out of every calculation. That includes positions, profit and loss, and the equity curve. It stays listed under the lane, and Restore brings it back at any time.
Ignoring is quick, and it suits a trade you truly want left out. For shares you really did own, an opening balance gives the truer picture. Here are both for ASIANPAINT, side by side:
| Sale ignored | Opening balance added | |
|---|---|---|
| ASIANPAINT | not shown | 50 shares open, at ₹3,240.70 |
| Result on the 50 shares sold | not counted | a realised loss of ₹36,905 |
| History starts | at your tradebook's first trade | June 2023 |
With the opening balance, your record 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.
With these three fixes, Fix-ups reads Your tradebooks match what you hold — nothing to fix.
Summary
Loading trades is mostly a matter of uploading a newer tradebook now and then, starting from the Download from date. In this chapter we also covered:
- Keeping separate sets of trades apart in portfolios
- How Tradestory shows a history that does not match
- IPO allotments, and the buybacks and rights issues that Tradestory finds on its own
- Transfers, sales elsewhere and moves out for holdings you no longer have
- Opening balances, IPO allotments, moves and ignored fills for sales with no purchase
With every trade in place, we can turn to what Tradestory shows about them. In Chapter 4, we look at your positions in full.