We use functional pathwise It\=o calculus to prove a strictly pathwise version of the master formula in Fernholz' stochastic portfolio theory. Moreover, the portfolio-generating function may depend on the entire history of the asset trajectories and on an additional continuous trajectory of bounded variation. Our results are illustrated by several examples and shown to work on empirical market data.
↧