A trading agreement is a legal contract between a trader and a broker that outlines the terms and conditions of their business relationship. It governs everything from the fees and commissions charged by the broker to rules for handling client funds.