palpha.Try demo ↗
Home / Learn / Practice

Portfolio simulator and allocation lab.

Build a virtual portfolio, compare cash with invested positions and test what happens when two stocks move in opposite directions.

Portfolio return
3.30%
Ending value
$10,330.00
First contribution
4.80%
Second contribution
-1.50%
Before tax · Currency sets units only. No FX conversion.

Build a comparison you can explain

Set aside two imaginary accounts. The first holds $70,000 in A and $30,000 in B. The second holds $35,000 in A, $15,000 in B and $50,000 cash. Both give A the same share of invested money. Their exposure to the market is different.

Test a fall before you test a rally

If A falls 20% while B gains 10%, the first account loses $11,000. The other loses $5,500. Try those inputs in the return calculator below. Then reverse both signs. The cash reserve also cuts the upside in half. This is why a leaderboard needs context.

Watch weights drift

After the first shock, A is worth $56,000 of the first portfolio’s $89,000, about 62.9%. Restoring a 70% weight would require $62,300 in A. That is a $6,300 shift from B. Ask what rule would justify that change before simulating it.

Can I backtest a real portfolio?

The demo uses generated prices. It illustrates changes in weights, cash and simulated profit. It has no verified historical total-return series, dividend processing or real execution. A historical backtest needs those inputs and a rule for how holdings change.

Further reading · Investor.gov · Asset allocation and diversification ↗

Educational simulations only. Prices, returns and prizes are fictional. No investment advice or real trading.