Skip to main content
ToolPotion
AI Advisor
Submit a Tool (Free)

PortfolioDB

PortfolioDB is a self-hosted, append-only, lot-based portfolio ledger on Postgres. It offers FIFO and average-cost engines, and an MCP server for AI agent queries, ensuring a comprehensive and controlled record-keeping solution.

Visit Website
Share
PortfolioDB screenshot
PortfolioDB screenshot

PortfolioDB is a self-hosted portfolio ledger designed for users who want complete control over their financial records. Built on Postgres, it features an append-only, lot-based system that ensures every trade is recorded as an immutable entry. This design allows for accurate tracking of positions, cost basis, and P&L, which are recomputed from raw lots on every read, ensuring data integrity and transparency.

Read More

The platform supports FIFO and moving-average lot matching engines, running in parallel to provide flexibility in cost basis computation. Users can benefit from a robust MCP server that allows AI agents to query the system, facilitating advanced portfolio analysis and management. The system is designed to be self-contained, with no broker sync or third-party integrations, ensuring that users' data remains private and secure.

PortfolioDB is open-source and operates under the AGPL-3.0 license, meaning users can modify and run the software as a service, provided they publish any modifications. The platform is designed for single-user access, with network-based access control, and does not include built-in login features.

The platform is particularly suited for equities and ETFs, with support for any asset quoted by yfinance. However, it does not support options, bonds, or crypto-native accounting. Users must manually enter trades or import them via CSV, as there is no automatic broker synchronization. The system assumes a single currency throughout, with multi-currency support planned for future updates.

PortfolioDB is ideal for individuals or organizations seeking a reliable and transparent portfolio management tool that prioritizes data ownership and integrity. It is not a broker or financial advisor and does not provide investment advice or execute trades.

  • CategoryAI Trading & Investing Tools
  • Pricing ModelOpen Source
  • DeploymentSelf-hosted
  • PlatformsPostgres

  • Self-hosted on Postgres

  • Append-only ledger

  • FIFO and average-cost engines

  • MCP server for AI queries

  • No broker sync

  • Open-source under AGPL-3.0

  • Single-user access

  • Equities and ETFs support

  1. Configure: Set up Docker and Postgres

  2. Import: Enter trades manually or via CSV

  3. Analyze: Use MCP server for AI queries

  4. Manage: Track positions and P&L in real-time

  • Portfolio Management
  • AI Integration
  • Data Integrity
  • Custom Reporting
  • Open Source Development

PortfolioDB Reviews

Loading...

Popular AI Tools Like PortfolioDB

Interactive Brokers offers AI-powered portfolio analysis and trading tools, integrating platforms like ChatGPT and Claude. These tools help analyze portfolios, monitor risks, and…

AI Trading & Investing ToolsFinance & Banking
View Tool

Offers AI-powered portfolio analysis and trading tools, integrating platforms like ChatGPT and Claude. These tools help analyze portfolios, monitor risks, and…Interactive Brokers offers AI-powered portfolio analysis and trading tools, integrating platforms like ChatGPT and Claude. These tools help analyze portfolios, monitor risks, and…

AI Trading & Investing ToolsFinance & Banking
See the Top 250 AI Apps

Simply Wall St is an all-in-one platform designed to help investors improve their portfolios, speed up research, and discover winning stocks. It offers portfolio tracking,…

AI Trading & Investing ToolsFinance & Banking

Ranked #7 in AI Trading & Investing Tools

View Tool

All-in-one platform designed to help investors improve their portfolios, speed up research, and discover winning stocks. It offers portfolio tracking,…Simply Wall St is an all-in-one platform designed to help investors improve their portfolios, speed up research, and discover winning stocks. It offers portfolio tracking,…

AI Trading & Investing ToolsFinance & Banking
Ranked #7 in AI Trading & Investing Tools

TIKR

AI Apps

TIKR offers high-quality stock market research and investor analysis tools. Users can follow top investors, analyze businesses, and monitor their portfolios efficiently. Start for…

AI Trading & Investing ToolsFinance & Banking

Ranked #9 for Traders

View Tool

AI Apps

Offers high-quality stock market research and investor analysis tools. Users can follow top investors, analyze businesses, and monitor their portfolios efficiently. Start for…TIKR offers high-quality stock market research and investor analysis tools. Users can follow top investors, analyze businesses, and monitor their portfolios efficiently. Start for…

AI Trading & Investing ToolsFinance & Banking
Ranked #9 for Traders

FactSet

AI Apps

FactSet is a global financial data and analytics platform that provides investment professionals with integrated data, advanced analytics, and AI-powered insights. It empowers…

Financial Analysis ToolsFinance & Banking
View Tool

AI Apps

Global financial data and analytics platform that provides investment professionals with integrated data, advanced analytics, and AI-powered insights. It empowers…FactSet is a global financial data and analytics platform that provides investment professionals with integrated data, advanced analytics, and AI-powered insights. It empowers…

Financial Analysis ToolsFinance & Banking
See the Top 250 AI Apps

Magnifi

AI Apps

Magnifi is an AI-powered investing platform that helps users search, compare, and manage their investment portfolios. With intelligent insights, it enables smarter investment…

AI Trading & Investing ToolsFinance & Banking

Ranked #40 for Traders

View Tool

AI Apps

AI-powered investing platform that helps users search, compare, and manage their investment portfolios. With intelligent insights, it enables smarter investment…Magnifi is an AI-powered investing platform that helps users search, compare, and manage their investment portfolios. With intelligent insights, it enables smarter investment…

AI Trading & Investing ToolsFinance & Banking
Ranked #40 for Traders

Arta is a digital wealth platform for accredited investors, offering access to exclusive private market opportunities like private equity and venture capital, alongside AI-powered…

AI Trading & Investing ToolsFinance & Banking

Ranked #58 in AI Trading & Investing Tools

View Tool

Digital wealth platform for accredited investors, offering access to exclusive private market opportunities like private equity and venture capital, alongside AI-powered…Arta is a digital wealth platform for accredited investors, offering access to exclusive private market opportunities like private equity and venture capital, alongside AI-powered…

AI Trading & Investing ToolsFinance & Banking
Ranked #58 in AI Trading & Investing Tools

Finroo

AI Apps

Finroo is a generative AI-driven portfolio management platform for investors in cryptocurrency, stocks, and real estate. It empowers users to scan all assets in one place,…

AI Trading & Investing ToolsFinance & Banking

Ranked #188 for Investors

View Tool

AI Apps

Generative AI-driven portfolio management platform for investors in cryptocurrency, stocks, and real estate. It empowers users to scan all assets in one place,…Finroo is a generative AI-driven portfolio management platform for investors in cryptocurrency, stocks, and real estate. It empowers users to scan all assets in one place,…

AI Trading & Investing ToolsFinance & Banking
Ranked #188 for Investors

ML Alpha

AI Apps

ML Alpha offers a marketplace for investors and AI engineers to optimize and monetize stock portfolios. Access hedge-fund-grade AI tools, data, and community insights with…

AI Trading & Investing ToolsFinance & Banking

Ranked #197 for Investors

View Tool

AI Apps

Offers a marketplace for investors and AI engineers to optimize and monetize stock portfolios. Access hedge-fund-grade AI tools, data, and community insights with…ML Alpha offers a marketplace for investors and AI engineers to optimize and monetize stock portfolios. Access hedge-fund-grade AI tools, data, and community insights with…

AI Trading & Investing ToolsFinance & Banking
Ranked #197 for Investors
1 of 8