Run npm run fetch-prices to update prices from KLSE.
npm run fetch-prices
Or set up a cron job to run every 5 minutes.
Checks each holding's ex-dividend date via Yahoo Finance. Due dividends can be applied to deduct from avg cost and record a DIVIDEND transaction.