A security shall not be treated as described in subparagraph (A), (B), or (C) of paragraph (1), as the case may be, unless such security is clearly identified in the dealer’s records as being described in such subparagraph before the close of the day on which it was acquired, originated, or entered into (or such other time as the Secretary may by regulations prescribe).
To the extent provided in regulations, subparagraph (A) of paragraph (1) shall not apply to any security described in subparagraph (D) or (E) of subsection (c)(2) which is held by a dealer in such securities.
Paragraph (2)(C) shall not include any nonfinancial customer paper.
Any gain or loss with respect to a security under subsection (a)(2) shall be treated as ordinary income or loss.
In the case of a dealer in commodities who elects the application of this subsection, this section shall apply to commodities held by such dealer in the same manner as this section applies to securities held by a dealer in securities.
Rules similar to the rules of subsections (b)(4) and (d) shall apply to securities held by a person in any trade or business with respect to which an election under this paragraph is in effect. Subsection (d)(3) shall not apply under the preceding sentence for purposes of applying sections 1402 and 7704.
In the case of a person who is engaged in a trade or business as a trader in commodities and who elects to have this paragraph apply to such trade or business, paragraph (1) shall apply to commodities held by such trader in connection with such trade or business in the same manner as paragraph (1) applies to securities held by a trader in securities.
The elections under paragraphs (1) and (2) may be made separately for each trade or business and without the consent of the Secretary. Such an election, once made, shall apply to the taxable year for which made and all subsequent taxable years unless revoked with the consent of the Secretary.