person, and (2) any transaction with respect to a security described in subparagraph (D), (E), or (F) of subsection (e)(1), if— (A) such security is traded or cleared on a facility located in the United States, or (B) any party with rights under such security is a United States person. (e) Security and other definitions For purposes of this section— (1) In general The term security means— (A) any share of stock in a corporation, (B) any partnership or beneficial ownership interest in a partnership or trust, (C) any note, bond, debenture, or other evidence of indebtedness, other than a State or local bond the interest of which is excluded from gross income under section 103(a), (D) any evidence of an interest in, or a derivative financial instrument with respect to, any security or securities described in subparagraph (A), (B), or (C), (E) any derivative financial instrument with respect to any currency or commodity including notional principal contracts, and (F) any other derivative financial instrument any payment with respect to which is calculated by reference to any specified index. (2) Derivative financial instrument The term derivative financial instrument includes any option, forward contract, futures contract, notional principal contract, or any similar financial instrument. (3) Specified index The term specified index means any 1 or more of any combination of— (A) a fixed rate, price, or amount, or (B) a variable rate, price, or amount, which is based on any current objectively determinable information which is not within the control of any of the parties to the contract or instrument and is not unique to any of the parties’ circumstances. (4) Treatment of exchanges (A) In general An exchange shall be treated as the sale of the property transferred and a purchase of the property received by each party to the exchange. (B) Certain deemed exchanges In the case of a distribution treated as an exchange for stock under section 302 or 331, the corporation making such distribution shall be treated as having