PnL formulas
Time-weighted return
The time-weighted method calculates the return for each unit of time, then takes the geometric mean of the returns across the entire period. Deposits made on day T take part in that day's trading and count toward both the opening and closing assets. Withdrawals made on day T do not take part in that day's trading and count only toward the closing assets. The formulas are:
Day T return = (Day T closing assets − Day T opening assets − Day T net cash flow) / (Day T opening assets + Day T deposits)
Cumulative return = (1 × (1 + Day T1 return) × (1 + Day T2 return) × ... × (1 + Day Tn return) − 1) × 100%
*Net cash flow refers to cash movements including deposits, withdrawals, and tokenization.
Money-weighted return
The money-weighted method weights each cash flow's contribution to the return over the period, giving a more reasonable view of the impact of cash flows. Compared with the time-weighted return, the money-weighted return is better suited to estimating an individual investor's actual return. The formula is:
Cumulative return = Cumulative PnL over the period / [Opening total assets + ∑(Each net cash flow × Time weight)]
Where: Time weight = 1 − (Days since the cash flow occurred / Total days)
Simple Dietz return
The simple Dietz method is a quick way to calculate return, suited to cases with few cash flow changes or a short investment period. Compared with the money-weighted method, it does not time-weight cash flows and instead treats all cash flows as occurring evenly across the whole investment period. It is relatively simple to calculate but somewhat approximate. The formula is:
Cumulative return = Cumulative PnL over the period / [Opening total assets + ∑(Each net cash flow × Time weight)]
Where: The time weight for every cash inflow or outflow is 0.5