Optimal Hedging and Equilibrium in a Dynamic Futures Market