Frequently Asked Questions

What should I do if my stock changed symbol?

This happened to FB for example, which changed its ticker to META. Digrin does not handle this change automatically, so investors have to do the migration themselves by editing the stock symbol on transactions.

What should I do if my stock had split?

Nothing, Digrin should handle Stock splits automatically. You might check if Digrin knows about split on stock details page, where split tab should have this information. Keep in mind it might take a few weeks for Digrin to realize there was a stock split and also adjust historical stock prices. Digrin might unfortunately provide invalid data before this is completely processed, but eventually all data should make sense automatically.

What should I do if my stock had spin-off?

Digrin will know about spinoff, and they are often shown on stock details page, split tab. However, Digrin doesn't automatically handle spin-offs, so you will need to add new stock to your portfolio. Also add a sell transaction of the original stock with value of new stock, e.g. for 0.01 price to not mess up cost basis. Brokers do spinoffs differently, so digrin does leave this to investors to handle.

DRIP settings (Dividend Reinvestment Plan)

A dividend reinvestment plan (DRIP) is a program that allows investors to reinvest their cash dividends into additional shares or fractional shares of the underlying stock on the dividend payment date. You can find it in portfolio overview, Edit (DRIP) column. You can enable DRIP on each dividend separately, or tell digrin to auto apply DRIP to all future dividends.

My shares count doesn't match?

Most common reason behind share count mismatch is above-mentioned split, which Digrin accounts for automatically. You can check this on stock details page, split tab e.g. AAPL split. If you want to remove split from your portfolio, you will need to add sell transaction to your portfolio to counter split adjustments. If there was no split, please check for DRIP setting on your stock. If you have DRIP enabled (Edit option in portfolio overview), Digrin will automatically add dividends as stock shares, which might cause your shares count to be higher than expected.

How does digrin calculate portfolio performace?

Digrin has multiple implementations of portfolio performance calculation. They can be enabled on portfolio overview page, so give them a try and see which one you like the most.

XIRR - Internal rate of return

To calculate internal rate of return for irregular cash flows, XIRR is a perfect function. If you want to use one value to see your portfolio performance on, XIRR is the way to go. It calculates performance over time, takes dividends into account along with stock splits and commissions. It should equal XIRR function in Excel or google sheets.


XIRR might be confusing in some cases e.g. when you own a stock for a day and stock price increases by 1% - your XIRR would be as if that stock would increase 1% in price every day for 1 year. For this, simple gain might be more useful. It calculates gain for each transaction as sold value divided by cost basis. It also takes stock splits and commission into account, but not dividends. Downside of this is that it does take profit of sold positions into account, which affects cost basis (in extreme cases cost basis can be negative). Both $ and % options is available.

Realized/Unrealized Gain

You might have a need to differentiate between realized and unrealized gains. Realized gains are a done deal, and you might have a need to view them separately. For this reason digrin now has experimental support for realized and unrealized gains. Stock splits and commissions are included, dividends excluded. Both $ and % options is available.
Note: Realized/Unrealized Gain has a bit more complex implementation, in some cases results might differ from a simple Gain data.

Copy transactions from Interactive Brokers

There is a detailed tutorial how to do that on portfolio overview page -> "Portfolio settings" button -> "Connect InteractiveBrokers". Digrin does sync portfolio daily around 15:00 UTC, for free users as well. Flex queries must be enabled on IBKR side, and token must be provided to Digrin. This is a safe way to copy your transactions, as read only access is provided. Portfolios are synced daily, until error occurs (e.g. expired token). In that case, you will need to re-enable sync.

Digrin and Interactive Brokers do not have same symbols for all stocks, so we try to match stocks by symbol and exchange combination. If symbol is different, digrin tries to match transactions by ISIN. You can also filter IBKR sync by symbols - some stocks are synced to one portfolio, while other stocks can be synced to another portfolio. IBRK sync can be used along with CSV import or manually. Digrin should recognize duplicate or unique transaction.

There is a limitation, that Flex queries on IBKR can be created only for past 365 days. So only transactions for past year can be copied automatically.