How to track all your investments in one private dashboard (with Ghostfolio)
Shares at one broker, an ETF plan at another and some crypto on an exchange: your full picture ends up in three apps and a spreadsheet. Ghostfolio is a free, open-source app that gathers it all in one dashboard that runs on your own machine, so your data stays with you.
What you need
- A computer or home server with Docker installed.
- Ghostfolio, open source (AGPL-3.0). It needs PostgreSQL and Redis alongside the app; the project's Docker Compose files bring them up for you.
- Your transaction history (buys, sells, dividends, fees), typed in or imported.
Step by step
- Get the project. Clone the Ghostfolio repository from GitHub and copy
.env.exampleto.env. - Fill in your secrets. In
.envsetACCESS_TOKEN_SALT,JWT_SECRET_KEYand the PostgreSQL and Redis passwords. Use long random values and never share the file. - Start it. The README gives this command:
docker compose -f docker/docker-compose.yml up -d - Create your user. Open
http://localhost:3333and follow the Get Started flow. The first user created gets the admin role. - Add your accounts and transactions. Create one account per broker or exchange, then add buy, sell, dividend, fee, interest or liability transactions, or import them.
- Read the results. Check performance over different periods and the charts that point out portfolio risks, such as too much in a single holding.
Where the prices come from
Ghostfolio's free data sources include Yahoo and CoinGecko; its own Ghostfolio source is a Premium feature. CoinGecko API keys are optional, and you can add a key in the settings file if you want. See our guides to CoinGecko and yfinance if you want to build your own price scripts too.
Ideas to go further
- Add a daily price summary on Telegram next to your dashboard.
- Set a crypto price alert for the coins you hold.
- Install it on a home server: community packages exist for Umbrel, Unraid and CasaOS.
- Track everyday spending too with Firefly III, a self-hosted budget manager.
Good to know
You host, secure and update it yourself, including backups of the PostgreSQL data. AGPL-3.0 has conditions if you modify the code and offer it as a service. The public API and MCP server are marked experimental. This guide is about tracking, not advice: nothing here predicts returns.
See more ideas
Browse the use cases or try the live demo. Custom bots are coming soon: tell me when it opens.
Before you start
What does Ghostfolio cost and what licence does it use?
Free and open source to self-host; a hosted Premium version exists (check the official website for prices). Licence: AGPL-3.0. Prices change, so check the official website before you decide.
What should I know before using Ghostfolio?
Licensed AGPL-3.0, which has conditions if you modify and offer it as a service. Self-hosting needs PostgreSQL and Redis alongside the app. Its own Ghostfolio data source is a Premium feature; free data sources include Yahoo and CoinGecko. The public API and MCP server are marked experimental.
What does CoinGecko API cost and what licence does it use?
Free Demo plan; paid plans from $35/mo (Basic). Licence: Commercial service. Prices change, so check the official website before you decide.
What should I know before using CoinGecko API?
10,000 calls a month run out fast if you poll every minute (about 43,000 a month).
What does yfinance cost and what licence does it use?
Free (open source). Licence: Apache-2.0. Prices change, so check the official website before you decide.
What should I know before using yfinance?
Not affiliated with or endorsed by Yahoo. Its own documentation says the tool is intended for research and educational purposes and that the Yahoo Finance API is for personal use only: read their terms. Since it is not an official API, it can stop working whenever Yahoo changes something.
Tools in this guide
- Ghostfolio: Open source wealth management app to track stocks, ETFs and crypto across accounts and see portfolio performance and risk.
- CoinGecko API: Crypto data API (prices, market cap, history) with a free Demo plan.
- yfinance: Python library to download prices and history from Yahoo Finance; widely used for research and learning.
Compare your options
Want a bot like this when custom bots open? Get notified · more bot ideas
Coming soon: custom bots
We are preparing a service to code, backtest and automate trading and statistics bots to your own rules. It is not available yet: follow our Telegram channel to know when it opens.