i. the total of all amounts each of which is(1) if the taxpayer acquires a property under the agreement in the year or a preceding taxation year, the portion of the amount by which the cost to the taxpayer of the property exceeds the fair market value of the property at the time it is acquired by the taxpayer that is attributable to an underlying interest other than an underlying interest referred to in any of subparagraphs i to iii of paragraph b of the definition of “derivative forward agreement” in section 1, or
(2) if the taxpayer disposes of a property under the agreement in the year or a preceding taxation year, the portion of the amount by which the fair market value of the property at the time the agreement is entered into by the taxpayer exceeds the proceeds of disposition, within the meaning of section 251, of the property that is attributable to an underlying interest other than an underlying interest referred to in any of subparagraphs 1 to 3 of subparagraph i of paragraph c of the definition of “derivative forward agreement” in section 1, and
ii. the amount that is,(1) if final settlement of the agreement occurs in the year and it cannot reasonably be considered that one of the main reasons for entering into the agreement is to obtain a deduction under this section, the amount determined under subparagraph i, or
(2) in any other case, the total of all amounts included in computing the taxpayer’s income under paragraph z.7 of section 87 in respect of the agreement for the year or a preceding taxation year; and