In v2.4 is it safe to assume benchmarking against the index and total return index is simulating the same buy and sell using the closing price?
ie. on march 1, buy $2000 BMO, it would simulate the same buy of $2000 of the indexes?
Also HXS had a stock split and therefore using it as an index benchmark is skewing the results, anyway around it?
Comments
Benchmarking does not look at your transactions at all - it is much simpler than that.
When you compare your year performance to index performance, it simply calculates how index did over the year, assuming you hold index over the year.
For HXS issue - is there any other index you could use, for example: ^SP500TR
In the case where buy and sell were through out the year, then comparing to the index is not apple to apple comparison.
It would be great if the script can simulation the transaction, since the quotes for the indexes are being captured already. This will give a good comparison for those that are wondering how their portfolio are doing comparison to the index if they bought the index instead.
My current workaround is to simulate the buy of the index using xeqt using a separate account to do the comparison.
Here are my calculations, but for version 3.
Symbol used in calculation: ^SP500TR
Quotes:
2022-12-30 8178.02002 ^SP500TR (LastPrice)
2021-12-31 9986.700195 ^SP500TR (PrevPrice)
Adj%=0 as AnnlAdj% in CompareTo table is empty (not specified), so dividends or Management Expense Ration does not have any impact.
Formula:
LastPrice / PrevPrice - 1 + adj%
=8178.02/9986.70 - 1 + 0 = 18.11%
In version 2.4 calculation should be the same:
LastPrice/PrevPrice-1: 18.11%
If you are using v2.4, what is the value (symbol specified) in worksheet src, table Config, column: MarketIndex2?