The previously written intertemporal arbitrage strategy requires manual input of the hedging spread for opening and closing positions. Judging the price difference is more subjective. In this article,...
Ported from the JavaScript version of Commodity Futures Intertemporal Hedging-Hundred Lines of Code Implementation, this strategy is a simple teaching strategy, intended to show the design of com...