A self-financing portfolio is an important concept in financial mathematics.
A portfolio is self-financing if there is no exogenous infusion or withdrawal of money; the purchase of a new asset must be financed by the sale of an old one.
Let denote the number of shares of stock number 'i' in the portfolio at time , and the price of stock number 'i' in a frictionless market with trading in continuous time. Let