I am trying to do pair trading on a pair of future contracts, e.g. CME gold and silver.
During the training of my trading model, I do forward adjustment on the pair of future contracts. Let the forward adjustment of a future contract be delta.
My question is, when I test my trading model live, do I need to do forward adjustment of the live data?
I think I need to, for example, let us assume I use 100 days of training data. Maybe on the 90th day, there is a forward adjustment of cme gold, which the raw price on the 90th day is 80, and the forward adjusted price on the 90th day is 100 (which means the delta is +20). Note that there is no forward adjustment of cme silver on 90th day. On the first day of the live testing, the raw price may be 70, so I need to add delta=20 to get the forward adjusted price of 90.