While You Need A Budget (YNAB) isn’t really designed to track investments it can be useful to include your investment assets to track your net worth.
The way I like to do this is by creating Tracking accounts for each of my investment accounts and then reconciling the account balance once a month to update the investment balance.