A portfolio tracker for NSE and BSE stocks

One place for positions held at several brokers, priced each evening, with an average cost that stays correct through the things that usually break it.

Several brokers, one view

Most people who track a portfolio in a spreadsheet do it because no single broker knows about all of it. A position opened at one broker and added to at another is two statements and one holding, and reconciling the two by hand is where the average cost goes wrong.

VistaFund keeps up to twenty portfolios per account. Put everything in one, or keep a portfolio per broker, per family member or per mandate, and switch between them.

Average cost that survives a corporate action

Cost basis is weighted average, recomputed by replaying your whole transaction ledger rather than kept as a running figure. That is the part a spreadsheet usually gets wrong, because a split or a bonus silently invalidates every row above it.

Say you take 100 shares at Rs 250 and add 50 more at Rs 310. The weighted average is Rs 270. A 1:2 split then leaves you 300 shares at Rs 135. Letting 100 of them go leaves 200, still at Rs 135: reducing a position does not move the average, only adding to it does.

Dividends, splits and bonuses come from the corporate events feed and are applied for you, so the figure you look at in March reflects what happened in July.

What a holding row carries

Quantity, weighted-average cost, the last close and the date it is from, current value, the change against cost, and how long the position has been open. Closed positions keep their row, so the realised side of the year is still there to read.

Prices are end-of-day. The evening job marks every holding against the day's close once the market has shut, which is the right resolution for a tracker and the wrong one for trading.

The new transaction form: type, date, instrument search, quantity, price and charges.
Anything the importer has no file for can be entered directly.