T : value after deposits/withdrawalsT-1: value before any deposits/withdrawals
When adding funds: T(IOPV) = [T(Margin Balance) - Deposit Amount)] / (T-1)(Margin Balance) * (T-1)(IOPV) When withdraw funds: T(IOPV) = [T(Margin Balance) + Withdrawal amount)] /(T-1) (Margin Balance) * (T-1)(IOPV) If no deposit or withdrawal occurred: IOPV at the end of the period = Current Margin Balance /Initial Margin Balance * Initial IOPV