Construct a replicating portfolio consisting of certain holdings in stock and bond which exactly matches the value of a forward contract written on an asset, at any time between 0 and T. It may be rebalanced at any time if necessary, but check that it is always self-financing.