Skip to content
All projects

Case study · Build · 2026

AlwaysUp

The design sideThe developer side

A portfolio viewer that refuses to show a loss. It flips a red chart so the line climbs, and tells you it did.

AlwaysUp is a joke portfolio viewer that mirrors a losing chart about the price you paid, so a loss is drawn as a gain of the same size. It is a parody about how a red number can ruin a morning, and it says so on every screen. It is built with React, Vite and Framer Motion, and it is public on GitHub with 77 unit tests.

AlwaysUp showing a Coca-Cola chart that climbs, with a Mirrored badge in the header and a banner reading A joke app. The charts are flipped on purpose. Don’t invest with it.
  • The brief

    What if a portfolio app never showed a loss, and admitted it on every screen? A joke, labeled as one.

    See the designer side
  • What it does

    A joke portfolio viewer that mirrors a losing chart about the price you paid, with one line of math and 77 tests.

    See the developer side
  1. 01

    The idea

    Checking a portfolio costs me more in mood than it does in money. So I built an app that won’t show me a loss.

  2. 02

    What I did

    Wrote the flip as one line of math, made it something you can tap, drag and hold, and labeled every screen with what was done to it.

  3. 03

    Where it stands

    Live and public on GitHub. It’s a joke, and nobody should invest with it. The live deploy runs on simulated prices.

A red number can ruin a whole morning.

The hardest part of investing, for me, isn’t picking anything. It’s what a red number does to the next hour, over a position I wasn’t going to touch anyway.

The position is the same whether I look or not. I look anyway. So I made an app that shows the number going up, every time, and is completely upfront that it’s lying.

Losing charts get flipped so the line climbs.

The whole trick

  • p′2a − p, a reflection of every price p about an anchor a

The anchor is the price you paid, or the opening price when you’re still in profit. The shape stays exactly the same and the direction inverts, so a 6.37% slide becomes a 6.37% climb.

The four cases

  1. Up today, up overall

    Does
    Nothing. Nothing on screen is a loss.
  2. Down today, up overall

    Does
    Mirrors the day about the open.
  3. Down today, down overall

    Does
    Mirrors about what you paid. One flip fixes the day and the position together.
  4. Up today, down overall

    Does
    Lifts the line clear of what you paid. A mirror would throw away the green day.

Three comfort levels

  1. Honest

    No flip. Red is red.

  2. Comfort

    Losses are mirrored and gains are left alone. This is the default.

  3. Delulu

    Every chart climbs. Down moves are folded upward and damped, so the line never loses ground.

It lies on purpose, so it has to say so everywhere.

AlwaysUp is a parody. It isn’t investment advice, it can’t trade, and it never tells anyone what to buy. A chart that looks real and isn’t could still fool someone, so the app keeps reminding you what it is.

How it keeps reality one tap away

  1. A banner on every screen

    “A joke app. The charts are flipped on purpose. Don’t invest with it.”

  2. A disclosure first

    Before any number shows, you have to accept a screen that opens with “This app lies to you on purpose.”

  3. A badge that names the trick

    The header says Mirrored, Lifted or Showing reality, and it can’t be dismissed.

  4. Flip it back anytime

    Tap a chart, drag the mirror track or press and hold to see what really happened.

  5. Screen readers get the truth

    Every chart carries the real price action and the real profit or loss for assistive tech.

  6. Fake data is labeled

    When real prices can’t be fetched, every invented one carries a Simulated tag in every mode.

I built the flip first, then made it something you can play with.

  1. 01

    First build

    The mirror on fictional tickers

    Simulated prices on a seeded walk

  2. 02

    Real companies

    Live prices from Yahoo Finance

    Tap, drag and hold to flip

  3. 03

    A badge

    The parody stickers came off

    Added A badge that names the operation in force

  4. 04

    What you paid

    The mirror anchored on your cost

    A lift for the case a mirror can’t fix

  5. 05

    Demo video

    A 61-second reconstruction

    Simulated prices, labeled as such

The eight commits on main, in five steps

The restyle to match this site came last, along with the banner on every screen, in pull request #2.

Pull request #2

Flipping was easy. Knowing when a flip is wrong took the work.

A reflection inverts every direction. On a green day for a position that’s still underwater, a mirror would turn the good day red to fix the total. That case gets a lift, and the badge says Lifted, not Mirrored.

  1. The flip38
  2. Chart geometry14
  3. Yahoo parsing11
  4. Position math8
  5. Number formats6
Unit tests by file on main, 77 in all. The flip tests

Real prices on the live site, and the joke stays loud.

Next

  1. Real prices live

    Yahoo Finance only works through the dev server’s proxy. The README names Alpha Vantage as the source that works on a static deploy.

  2. Keep the labels

    Any new screen gets the banner and the badge before it ships.

Known limits

  1. Simulated live

    The live deploy has no proxy, so every price there is simulated and tagged.

  2. Made-up positions

    The starting share counts and costs are invented. Settings says so, and you can enter your own.

  3. Delulu isn’t real

    Delulu rebuilds the series, so what it draws never happened.

  4. Saved in one browser

    Holdings and the comfort level live in local storage.

  1. Built

    A joke portfolio viewer that mirrors a losing chart about what you paid, so the line always climbs.

  2. Found

    A mirror can’t rescue one of the four cases, a green day on a position still underwater, so that one gets lifted.

  3. By the numbers

    Line of math behind the flip
    1
    Cases the anchor has to handle
    4
    Unit tests
    77
  4. The catch

    The live deploy can’t reach Yahoo Finance, so every price there is simulated, and each one is labeled.

  5. Next

    Give the live deploy a data source that works without a proxy, so its prices are real.