We study the problem of dynamically trading a pair of futures contracts. We consider a two-factor mean-reverting model, where the spot price tends to evolve around its stochastic equilibrium that is also mean-reverting. We derive the futures price dynamics and determine the optimal futures...