cost basis · TWR vs MWR · corporate actions

📖 PnL & ROI

Notes on the question every broker app answers differently: did I make money? Cost basis and weighted average, realized vs unrealized, why deposits break every subtraction, fees and a tax charged on proceeds rather than profit, corporate actions that drop the price without losing a dong, and the invariant that ties it all back to the ledger.

Sources: hands-on brokerage portfolio-accounting notes · GIPS / performance-measurement literature · public corporate-action documentation.