Version: unspecified (using KDE 4.5.3) OS: Linux If in an investment account ledger, you enter an investment name in the search window, the balance history is not displayed. The quantities are given but you have to compute the corresponding balances manually. Is it possible to add this feature? In case the search matches several investments, the balance should be given per investment. Reproducible: Always Steps to Reproduce: In the search window of an investment account ledger, type the name of an investment. Actual Results: All activities for that investment are displayed, and a balance is given for money-operations, but not for buy/sell operations. Expected Results: The balance of the number of shares is expected. A problem may arise in case of a stock split. The quantities given should be consistent (directly comparable), preferably in units after the last split.
The problem with displaying balances if something is typed in the search window is that you may not display all the transactions necessary to calculate a correct balance. The program doesn't know if you are searching the name of a security or something that is shown in the details column, such as an interest category. However, I cannot understand the actual behavior I see as try to explain this. With nothing typed in the search box, all transactions in the ledger for an investment account display a balance. As I type more characters in the search box, some transactions are filtered out of the view, and fewer and fewer transactions display a balance. Those balances that are displayed are correct, it seems to be the last 1 or the last n transaction per security that do show a balance, but not the same number for each security. At first, I thought it was showing a balance if no transaction for that security were filtered out of the view, but searching on the name of a security eventually leaves either 1 or 0 balances shown, and clearly all transactions for that security are displayed.