/bubble-tutorials

How to build a portfolio tracker in Bubble

Learn how to build a custom portfolio tracker in Bubble with step-by-step guidance to manage assets, automate updates, and visualize performance

Matt Graham, CEO of Rapid Developers

Book a call with an Expert

Starting a new venture? Need to upgrade your web or mobile app? RapidDev builds Bubble apps with your growth in mind.

Book a Free Consultation

How to build a portfolio tracker in Bubble

To build a portfolio tracker in Bubble, you create data types for a user’s assets, set up workflows that let users add or update holdings, and (optionally) pull live prices from an external API using the API Connector. The UI is just repeating groups showing each asset with totals calculated using Bubble’s built‑in expressions. The core is: a Holding data type linked to User, fields for quantity and symbol, and a workflow that recalculates value when prices update.

 

Core Data Structure

 

Create two data types: Holding and Price. A Holding stores what the user owns (ex: BTC, 2.1 units). A Price stores the latest market price you fetch from an API. Linking them allows Bubble to compute portfolio value on the fly using simple expressions.

  • Holding fields: symbol (text), quantity (number), owner (User)
  • Price fields: symbol (text), last_price (number), updated_at (date)

 

Adding & Updating Holdings

 

Create a form where users enter the asset symbol and quantity. A workflow runs on button click: Create a new Holding with those values and Current User as owner. To update, use Make changes to a thing and adjust quantity.

  • Use a Repeating Group of Holdings filtered by Current User to show the portfolio.
  • For total value: cell’s Holding quantity × Search for Price:first_item last_price.

 

Fetching Live Prices

 

Use the API Connector to call a real pricing API (for example, CoinGecko’s free price endpoint). Set it as Data type call so Bubble stores the response.

 

// Example CoinGecko price call
https://api.coingecko.com/api/v3/simple/price?ids=bitcoin,ethereum&vs_currencies=usd

 

Create a backend workflow that runs every few minutes: call the API, then Make changes to a list of Price so each symbol’s last\_price updates. Privacy rules should allow only admins or backend workflows to modify Price.

 

Displaying Portfolio Totals

 

Add text elements inside the Repeating Group like: Current cell’s Holding quantity × Parent group’s Price last\_price. For overall total, use a parent text: Search for Holdings (owner = Current User)’s sum of (quantity × related price). Use an Expression from the Toolbox plugin if you prefer custom math, but Bubble’s built‑in operators usually work.

 

Final Notes

 

Keep all price updates in backend workflows so the app remains fast. Use constraints in searches to avoid heavy database loads. With this structure, the portfolio tracker stays clean, scalable, and easy to extend (e.g., charts, categories, or transaction history).

Explore More Valuable No-Code Resources

How to integrate Bubble.io with Git?

Learn how to seamlessly integrate Bubble.io with Git through our comprehensive step-by-step guide. Perfect for beginners and professionals.

Explore

How to integrate Bubble.io with Reddit Ads?

Learn how to seamlessly integrate Bubble.io with Reddit Ads using our easy step-by-step guide. Boost your ad management today!

Explore

How to integrate Bubble.io with AWS S3?

Explore our step-by-step guide on integrating Bubble.io with AWS S3, making your app development process more efficient and secure.

Explore

How to integrate Bubble.io with Lucidchart?

Follow our step-by-step guide to seamlessly integrate Bubble.io with Lucidchart, enhancing your workflow & productivity.

Explore

How to integrate Bubble.io with Kentico?

Learn how to seamlessly integrate Bubble.io and Kentico with our comprehensive, easy to follow step-by-step guide.

Explore

How to integrate Bubble.io with Box?

Discover easy-to-follow steps for integrating Bubble.io with Box. Boost your workflow and secure your files seamlessly today.

Explore

Stuck in Bubble.io? We’re here to help!

Fix broken workflows | Optimize logic | Boost performance | Scale with confidence

4.9
Clutch rating 🌟
600+
Happy partners
17+
Countries served
190+
Team members

By clicking “Accept”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.

Cookie preferences