Except as provided in regulations, a taxpayer may elect to treat any foreign currency gain or loss attributable to a forward contract, a futures contract, or option described in subsection (c)(1)(B)(iii) which is a capital asset in the hands of the taxpayer and which is not a part of a straddle (within the meaning of section 1092(c), without regard to paragraph (4) thereof) as capital gain or loss (as the case may be) if the taxpayer makes such election and identifies such transaction before the close of the day on which such transaction is entered into (or such earlier time as the Secretary may prescribe).
Except as otherwise provided in regulations, in the case of any amount treated as ordinary income or loss under paragraph (1) (without regard to paragraph (1)(B)), the source of such amount shall be determined by reference to the residence of the taxpayer or the qualified business unit of the taxpayer on whose books the asset, liability, or item of income or expense is properly reflected.
In the case of a qualified fund, clause (iii) of subparagraph (B) shall not apply to any instrument which would be marked to market under section 1256 if held on the last day of the taxable year (determined after the application of clause (iv)).
If any partnership made an election under clause (iii)(V) for any taxable year and such partnership has a net loss for such year or any succeeding year from instruments referred to in clause (i), the rules of clauses (i) and (iv) shall apply to any such loss year whether or not such partnership is a qualified fund for such year.
Except as provided in regulations, in the case of a qualified fund, any bank forward contract, any foreign currency futures contract traded on a foreign exchange, or to the extent provided in regulations any similar instrument, which is not otherwise a section 1256 contract shall be treated as a section 1256 contract for purposes of section 1256.
The interest of a general partner in the partnership shall not be treated as failing to meet the 20-percent ownership requirements of clause (iii)(I) for any taxable year of the partnership if, for the taxable year of the partner in which such partnership taxable year ends, such partner (and each corporation filing a consolidated return with such partner) had no ordinary income or loss from a section 988 transaction which is foreign currency gain or loss (as the case may be).
Except as provided in regulations, the interest of a partner in the partnership shall not be treated as failing to meet the 20-percent ownership requirements of clause (iii)(I) if none of the income of such partner from such partnership is subject to tax under this chapter (whether directly or through 1 or more pass-thru entities).
References to any partnership shall include a reference to any predecessor thereof.
Rules similar to the rules of section 7704(e) shall apply.
If the taxpayer takes or makes delivery in connection with any section 988 transaction described in paragraph (1)(B)(iii), any gain or loss (determined as if the taxpayer sold the contract, option, or instrument on the date on which he took or made delivery for its fair market value on such date) shall be recognized in the same manner as if such contract, option, or instrument were so sold.
To the extent provided in regulations, if any section 988 transaction is part of a 988 hedging transaction, all transactions which are part of such 988 hedging transaction shall be integrated and treated as a single transaction or otherwise treated consistently for purposes of this subtitle. For purposes of the preceding sentence, the determination of whether any transaction is a section 988 transaction shall be determined without regard to whether such transaction would otherwise be marked-to-market under section 475 or 1256 and such term shall not include any transaction with respect to which an election is made under subsection (a)(1)(B). Sections 475, 1092, and 1256 shall not apply to a transaction covered by this subsection.