Longbridge provides multiple ways to measure your portfolio’s performance. This article explains how each metric is calculated and when to use them.
Cost basis — First In, First Out (FIFO)
All cost basis calculations follow the First In, First Out (FIFO) method. Under FIFO, the shares purchased earliest are treated as the first shares sold.
For example, suppose you build a position in XYZ through three separate purchases and later sell 150 shares.
Lot 1 — Jan 3 | Buy 100 shares at $10.00 |
Lot 2 — Feb 7 | Buy 100 shares at $14.00 |
Lot 3 — Mar 12 | Buy 100 shares at $18.00 |
Sell — Apr 1 | Sell 150 shares at $20.00 |
Under FIFO, all 100 shares from Lot 1 are sold first, and the remaining 50 shares are taken from Lot 2. The cost basis for this sale is (100 × $10.00) + (50 × $14.00) = $1,700.00. The remaining 50 shares from Lot 2 and all shares in Lot 3 stay in the portfolio at their original purchase prices.
Daily P&L cutoff time
Each day is defined by a cutoff of 20:00 ET. At that time, Longbridge captures a snapshot of your positions and net asset value to calculate the day’s profit and loss (P&L). Asset changes processed after the cutoff are included in the following day’s calculations.
Total P&L
Total P&L covers both unrealized gains/losses on current holdings and all realized gains/losses.
- Total P&L = Ending total assets − Beginning total assets − Net asset inflows
We offer two methods for calculating the total P&L rate, which can be selected in the App.
Simple-weighted return rate
Under the simple-weighted method, all net cash flows (such as deposits, withdrawals, and stock transfers) during the measurement period are treated as if they occurred at the beginning of the period. These cash flows are combined with the beginning asset value to form the cost basis.
Cumulative return rate
Cumulative simple-weighted return rate = Total P&L ÷ (Beginning total assets + Net asset inflows during period)
- Advantage: Fast to calculate, easy to understand.
- Limitation: Less accurate when large asset flows occur mid-period or when the measurement period is long. In extreme cases, the rate may be distorted or show a negative return despite a positive dollar gain.
Time-weighted return rate
The time-weighted method divides the measurement period into individual days. A daily return is calculated for each day, and the daily returns are then compounded to produce the cumulative return. This minimizes the distortion caused by cash flows.
Daily return rate = Daily P&L ÷ (Previous day’s ending assets + Current day net inflows)
Cumulative time-weighted return rate = [ (1 + Day 1 rate) × (1 + Day 2 rate) × … × (1 + Day N rate) − 1 ] × 100%
- Advantage: Segments the period day by day, substantially reducing the impact of cash flows on the rate.
- Limitation: Does not account for the size of investments. When deposits or withdrawals are very large relative to the portfolio, the P&L and return rate may have opposite signs. In such cases, the return rate may not provide meaningful insight.
Realized P&L
Realized P&L reflects gains and losses realized through completed sell transactions, using FIFO cost basis.
Realized P&L = Σ[(Sell proceeds per lot − FIFO cost basis per lot) − Fees & commissions]
For a selected period, cumulative realized P&L is the sum of all realized gains and losses from positions closed during that period.
Win rate
Win rate measures the proportion of closed positions that were profitable. A position is counted as a “win” if its total realized P&L across all sell lots is greater than zero.
Win rate = Number of profitable closed positions ÷ Total closed positions × 100%
- A closed position is a position in which all shares of a symbol have been fully sold within the selected period.
- Partially sold positions are not counted until they are fully closed.
- If there are no closed positions during the selected period, the win rate is shown as —.

