
Investbrain
Free, self-hostable tracker for listed stocks and ETFs, with a real REST API and AI chat on your own model or key.
Self-hosters who want their tracker on their own server get a tidy option in Investbrain. It's free: the official Docker image has over 90,000 pulls, and the hosted version asks for no payment either. You enter buys and sells by hand, prices come from a market-data provider you can swap, and an AI chat answers questions about your holdings through OpenAI, Anthropic, Gemini or a local model in Ollama, with your own key. The REST API is properly documented, with a published OpenAPI spec. Two limits show up in its code. Every holding must be a ticker the price provider knows, so property, cash, bonds and crypto are out. And the gain is market value minus average cost, with no time- or money-weighted return. The CC-BY-NC 4.0 licence allows personal use but not commercial use, so despite the README's wording it isn't open source in the OSI sense.
Features at a glance
| Feature | Investbrain |
|---|---|
| Pricing | Free |
| Tracking & data | |
| Manual entry | Yes |
| CSV / broker import. Import holdings and transactions from broker or exchange CSV files. | Partial |
| Automatic bank/broker sync. Connects to your bank or broker to pull holdings in automatically. | Not supported |
| Multi-asset | Not supported |
| Multi-currency | Yes |
| Dividend tracking | Yes |
| Dividend/income forecast. Projects future dividend income and shows an income calendar. | Not supported |
| Tax reports | Not supported |
| Analysis & insights | |
| AI portfolio analysis | Yes |
| AI asset & market analysis. AI commentary on individual holdings and market context, not just the whole portfolio. | Partial |
| Portfolio health score. A single score rating diversification, concentration and other portfolio-health signals. | Not supported |
| Rebalancing & drift. Shows how far your allocation has drifted from target and how to correct it. | Not supported |
| Goal & time-to-goal | Not supported |
| Custom groupings / tags. Group holdings by your own dimensions (e.g. strategy, theme), not just asset class. | Not supported |
| Return method (TWR/MWR). True time-weighted (TWR) and money-weighted (MWR/XIRR) return — not just a simple % change. | Not supported |
| Benchmark & alpha. Compare returns against a benchmark, including alpha. | Not supported |
| Backtesting & scenarios. Test a portfolio against historical data or run scenario simulations. | Partial |
| Access & pricing | |
| Free tier | Yes |
| No account linking required. Works without connecting a bank login or aggregator. | Yes |
| Open source | Partial |
| Self-hostable | Yes |
| Public API | Yes |
| Platform & reach | |
| Mobile app | Partial |
| Multi-language | Yes |
| Community & extras | |
| Public / social portfolios. Share your portfolio publicly and follow other investors. | Not supported |
| AI portfolio roast. A shareable AI roast: a frank critique of a portfolio. | Not supported |
Best for
Developers with a server at home who hold listed stocks and ETFs and want their data and their AI under their own control. Skip it if you hold anything without a ticker or want fees in your records: the transaction form has no field for fees, commission or tax.
Strengths
- Documented REST API with tokens and a published OpenAPI spec
- AI chat on OpenAI, Anthropic, Gemini or a local model, with your own key
- Free to self-host, with a currency per transaction converted at ECB rates
Trade-offs
- Gain is value minus average cost, with no time- or money-weighted return and no benchmark
- Listed securities only: no property, cash, bonds or crypto
- Non-commercial CC-BY-NC 4.0 licence, one maintainer and no native phone app
Investbrain vs PortfolioGlance
Your own server, readable code and an API are what Investbrain offers and we don't. If running your own instance matters, it's the better pick. Our case is the number and the breadth. We measure returns time- and money-weighted and compare them with an index, and we hold property, deposits and crypto next to stocks. Rebalancing against your targets and a goal with a date are built in, and our AI assistant needs no API key from you.
Try PortfolioGlance freeCompare with
Alternatives and rankings
This is our editorial review, not financial advice. Features and prices may have changed since we checked, so see the official site for the latest.