Write , , and let with . The portfolio holds shares of stock and units of the zero-coupon bond. It is self-financing when all changes of holdings are funded within it, which is the gain identity
Under the physical probability measure, write , where and . The Itô formula gives
Matching the Brownian motion coefficients forces . Since , this is precisely
Differentiating gives . Since , matching the drift coefficients now gives
These are the self-financing conditions for smooth stock and bond holdings. Conversely, substituting both identities into the Itô formula gives the gain identity, so they are sufficient as well. Smoothness and the positive lognormal distribution density of extend the identities along the price process to every , with boundary times obtained by continuity.
The portfolio with constant stock value in bond units must have , so . The first condition then gives , hence
The second condition reduces to . Initial portfolio wealth requires . Therefore the holdings are
The corresponding portfolio wealth is
Under the risk-neutral measure, , so its value in zero-coupon bond units is . This also verifies the self-financing gain equation after using the bond as numéraire.