Ghostfolio — Open Source Wealth Management & Portfolio Tracker
Ghostfolio is an open-source personal finance dashboard for tracking stocks, ETFs, crypto, and other investments with real-time market data and performance analytics.
What it is
Ghostfolio is an open-source personal finance dashboard for tracking investment portfolios. Built with Angular, NestJS, and Prisma, it provides a clean interface to monitor stocks, ETFs, cryptocurrencies, and other assets with real-time market data feeds.
Ghostfolio is built for privacy-conscious investors who want full control over their financial data without sending it to third-party SaaS platforms. It runs as a self-hosted application via Docker Compose.
How it saves time or tokens
Ghostfolio aggregates portfolio data from multiple brokers and asset classes into a single dashboard, eliminating manual spreadsheet tracking. Automatic price feeds from Yahoo Finance and other providers keep valuations current without manual updates. The time-weighted return (TWR) and money-weighted return (MWR) calculations run automatically, replacing error-prone spreadsheet formulas.
How to use
- Clone the Ghostfolio repository and run
docker compose --env-file ./.env up -dto start the application. - Open
http://localhost:4200in your browser and create your account. - Add your investment holdings manually or import them via CSV to begin tracking performance.
Example
# Clone and start Ghostfolio
git clone https://github.com/ghostfolio/ghostfolio.git
cd ghostfolio
docker compose --env-file ./.env up -d
# Open http://localhost:4200
# Create account -> Add holdings -> View dashboard
Related on TokRepo
- Self-hosted tools -- Ghostfolio fits the self-hosted software category
- Automation tools -- automate portfolio data aggregation workflows
Common pitfalls
- Yahoo Finance rate limits can cause price feed interruptions for large portfolios; consider adding a delay between API calls.
- The default SQLite database works for personal use but should be swapped for PostgreSQL in multi-user deployments.
- Importing historical transactions via CSV requires exact date format matching or the import silently skips rows.
Frequently Asked Questions
Ghostfolio is open-source under the AGPL-3.0 license. You can self-host it at no cost. The project also offers a hosted SaaS version with a premium tier for additional features like data providers and benchmark comparisons.
Ghostfolio supports stocks, ETFs, bonds, mutual funds, cryptocurrencies, commodities, and real estate. You can track any asset that has a price feed from supported data providers like Yahoo Finance.
Ghostfolio calculates both time-weighted return (TWR) and money-weighted return (MWR). TWR measures investment performance independent of cash flows, while MWR accounts for the timing and size of deposits and withdrawals.
Yes. Ghostfolio supports multi-user mode where each user has their own account and portfolio data. An admin user manages the instance. For multi-user setups, PostgreSQL is recommended over SQLite.
Ghostfolio integrates with Yahoo Finance (free), Google Finance, and several premium data providers. The data provider fetches real-time and historical prices for stocks, ETFs, crypto, and other supported asset classes.
Citations (3)
- Ghostfolio GitHub— Ghostfolio open-source wealth management software
- Ghostfolio README— Built with Angular, NestJS, and Prisma
- Ghostfolio License— AGPL-3.0 license
Related on TokRepo
Source & Thanks
- GitHub: ghostfolio/ghostfolio — 8.1K+ ⭐ | AGPL-3.0
- Website: ghostfol.io
Discussion
Related Assets
HumHub — Open-Source Enterprise Social Network
A flexible, open-source social networking platform built on Yii2 for creating private communities, intranets, and collaboration spaces within organizations.
Dolibarr — Open-Source ERP & CRM for Business Management
A modular open-source ERP and CRM application written in PHP for managing contacts, invoices, orders, inventory, accounting, and more from a single web interface.
PrestaShop — Open-Source PHP E-Commerce Platform
A widely adopted open-source e-commerce platform written in PHP with a rich module marketplace, multi-language support, and a strong European user base.