Private Portfolio & Paper Trading Guide

Record simulated stock trades in local SQLite, inspect average cost basis and realized/unrealized P/L, and back up your ledger privately to Google Drive.

6.1 Private Portfolio Screen Anatomy

The Portfolio tab works as a local-first paper trading ledger backed by SQLite on your phone. Every fill, cost basis recalculation, and watchlist link runs on-device without sending positions to a third-party brokerage or external analytics database.

1
Net Worth & Cost BasisLive mark-to-market total ($2,761.07), invested capital ($2,750.00), and open position count (3 Held).
2
Realized Profit & ResetClosed P/L locked in from sold shares, plus a quick Reset control.
3
Unrealized Profit (Open P/L)Floating live profit or loss across open lots.
4
Two-Step Sell All ActionSafety-gated button to liquidate all active holdings at once.

Four summary numbers anchor the header: Portfolio Net Worth marks active holdings against the latest stock quotes, Total Investment sums the original capital allocated to open positions, Unrealized Profit tracks floating open P/L, and Realized Profit logs cumulative gains or losses already closed out.

6.2 Step-by-Step Buying & Selling Stocks

Logging a simulated order takes less than ten seconds:

1. Open Any Ticker Detail Page

Search or select a symbol (such as AAPL) from the Dashboard to reach its Forecast and Backtest view.

2. Tap TRADE in the Top App Bar

Opens the Simulated Trade Dialog seeded with the latest quote.

3. Pick BUY or SELL & Share Count

Type your share count (or tap ALL when closing an entire open position). Dollar value updates live against the current price.

4. Confirm Execution

Tap Execute to write the fill into local SQLite, update your weighted-average cost basis, and queue an encrypted Drive backup if signed in.

6.3 Realized vs. Unrealized Profit Explained

All portfolio arithmetic computes directly on-device inside SQLite:

Cost Basis & P/L Accounting

  • Weighted-Average Cost Basis: Adding shares at a different price divides total capital spent by total shares held, reflecting dollar-cost averaging accurately across partial fills.
  • Unrealized Profit (Open P/L): Compares the latest market quote against your average cost per share for every currently open lot.
  • Realized Profit (Closed P/L): Locks in (Exit Price - Average Cost Basis) x Shares Sold into your closed ledger whenever you sell part or all of a position.

6.4 Managing Your Portfolio

Two-Step Sell All Guardrail

Closing every position at once uses a guarded Sell All flow so a mis-tap never zeroes out your simulated holdings accidentally. First confirmation asks: “Are you sure you want to sell all holdings in your portfolio?” (→ tap I Am Sure). A second prompt asks: “Are you absolutely sure you want to proceed?” (→ tap Execute).

Resetting Closed P/L

Tapping Reset inside the Realized Profit card clears historical closed gains back to $0.00 when you want a clean scorecard for a new week or month. Your active open holdings and cost bases stay untouched.

6.5 Five Paper-Trading Habits to Avoid

Paper accounts expose sloppy habits quickly if you treat them like real capital:

  • Holding Past the P90 Ceiling: P90 marks the upper 90% probability boundary. Waiting greedily above P90 frequently hands back profits on mean reversion.
  • Averaging Down Under P10: Adding shares after a close below the P10 support floor doubles risk on an invalidated setup. Cut the trade and wait for structure to rebuild.
  • Forcing Neutral Setups: Low-conviction tickers sitting in Hold rarely offer clean reward-to-risk. Wait for BUY 80%+ alignment instead of forcing daily clicks.
  • Single-Ticker Concentration: Putting 100% of simulated capital into one high-beta tech stock turns a bad earnings reaction into a portfolio wipeout.
  • Misreading BUY → NEUTRAL Flips: A winning stock moving into Hold means price already reached its target zone, not that a crash triggered.