risk factor, page 125 fixed income

The risk factor in a spread futures contract, so is this something that is agreed on at the start of the contract, do parties agree on it, is it calculated according to a formula, or is it set after the fact when the event occurs and the risk is observed ?

Many thanks