← ALL WORK / INDEX
CASE STUDY / 02 OF 03

TradePro.

A virtual Philippine stock trading workspace that connects market research, simulated orders, and portfolio review.

Solo developerCOMPLETED
Visit live project

The source repository is private.

Preview a buy order.

See what a purchase would cost with a sample price and virtual cash.

Starting virtual cash
₱100,000.00
Sample price per share
₱125.50

TradePro virtual Philippine stock exchange portfolio workspace View full-size screenshot
PROJECT EVIDENCE

Available to review.

Live demo

The public page displays a read-only market and portfolio preview; account actions require sign-in.

Open TradePro

Order calculation

The interactive sample above shows how share count, example price, and virtual cash affect a buy-order preview.

Try the sample order

Interface screenshot

The captured interface shows the portfolio workspace; live quote availability depends on the external provider.

View the screenshot
01 / CONTEXT

Project context

TradePro gives people a place to research Philippine stocks and practice trading without using real capital. It combines PSE market views, ₱100,000 in starting virtual funds, simulated orders, and portfolio reporting in one application.

What the product provides

Philippine market data

Brings Philippine equity quotes, charts, historical views, and market context into the research workflow. The app identifies when external quotes are delayed or unavailable.

Virtual trading

Gives each practice account ₱100,000 in virtual funds so users can place simulated buy and sell orders and review their transaction history without risking capital.

Portfolio management

Shows holdings, portfolio value, gain or loss, and interactive charts to make the effect of each simulated decision easier to review.

Watchlist

Keeps selected stocks visible in the dashboard so users can follow them alongside the broader market view.

02 / BUSINESS NEED

The problem

People learning to trade need to understand how research, orders, and price changes affect a portfolio before putting real money at risk. Separate market pages and practice tools make that decision process harder to follow.

Operating constraints

  • Every order needed to use virtual funds and a clearly stated starting balance.
  • Research, watchlists, orders, and portfolio calculations needed to form one coherent workflow.
  • External Philippine equity quotes could be delayed or unavailable, requiring clear communication about data freshness.
  • The workspace needed to remain usable on different screen sizes.
03 / DELIVERY

Approach and solution

Delivery approach

I brought stock discovery, watchlists, simulated orders, transaction history, and portfolio review into one workspace. A fixed starting balance gives each user a consistent practice scenario, while market and portfolio views show the consequences of their choices.

Technical solution

I built the interface with Next.js 16, React, TypeScript, Tailwind CSS, and shadcn/ui. Supabase Auth and Postgres now support accounts and trading data. Row-level security restricts account access, and an atomic database function executes virtual trades against an immutable ledger. Next.js route handlers fetch market quotes; Recharts displays market and portfolio information. Verified older Firebase portfolios are preserved as separate read-only archives.

My contribution

I independently designed and implemented stock discovery, market data integration, virtual buy and sell orders, watchlists, transaction history, portfolio calculations, interactive charts, and the migration to Supabase.

Team ownership

TradePro is an independent project. Its deployed interface demonstrates the account, discovery, simulated trading, and portfolio workflows I developed.

04 / THINKING

Key decisions

01

Use ₱100,000 in virtual buying power

A fixed starting balance makes practice scenarios comparable and removes financial exposure from the learning process.

02

Show gain-or-loss feedback with the portfolio

Portfolio feedback connects an order to its effect on holdings and gain or loss, making the tradeoff visible to the user.

03

Move active trading to Supabase

Supabase Auth, Postgres row policies, and an atomic trade function place account access and virtual buy/sell changes behind a transactional server boundary. Older verified Firebase portfolios remain separate and read-only.

Tools & technology

  • Next.js 16
  • React
  • TypeScript
  • SWR
  • Tailwind CSS
  • shadcn/ui
  • Next.js Route Handlers
  • Supabase Auth
  • PostgreSQL
  • Row-level security
  • Atomic trade function and immutable ledger
  • Recharts
  • Server-fetched Philippine equity quotes
05 / RESULT & NEXT STEP

Current result

The deployed application brings market research, virtual orders, watchlists, transaction history, and portfolio feedback into one practice workflow. It identifies the workspace as a demo and discloses that quotes may be delayed, cached, or unavailable.

Next improvement

Publish a public walkthrough of a sample order and its ledger and portfolio effects, with sensitive account data removed.

Lessons for future work

  • A practice trading workflow depends on clear calculations, transaction history, and feedback that links actions to portfolio changes.
  • Market data needs an explicit freshness state so users can evaluate quotes in the right context.
ADDITIONAL NOTE

TradePro addresses the need for a connected, low-risk trading practice workflow. I developed the product independently. External providers supply market quotes, while orders and balances remain virtual.