All of the charges associated with executing a trade and maintaining a position. These include brokerage commissions, fees for exercise and/or assignment, exchange fees, SEC fees, and margin interest. In academic studies, the spread between bid and ask is taken into account as a transaction cost.