Hacker News new | ask | show | jobs
by ak39 1029 days ago
Does it handle stock splits, consolidations, dividends etc? Calculating returns (basically tracking growth) is a non-trivial problem.
1 comments

Yes, somewhat. Not as proper as it should. But it does the job. Esp with such events as splits, mergers, renames you can see it's not a very professional setup. I've had to hack around it by adding and then nulling some assets like "emission claims". Or, in my country, dividend-tax is extracted immediately so I now hack around that by adding that tax as "fee" to ghostfolio. It works. But isn't a replacement for actual book- and portfolio-keeping.
How did you handle stock splits?
A manual action where I multiply and divide all actions. It works, bit hardly. Won't do it again. A next time, I'll probably try to do a sell all old stocks for X/stock, and then buy all for X/splitamt/stock to handle this.

https://github.com/ghostfolio/ghostfolio/discussions/1072

I think there's a python package for Ghostfolio, I assume we can automate this process