They are given a leveraged account based on the deposit they make to the firm. Some firms don't require a deposit and traders use firm's capital entirely. A margin account has the same principle as a leveraged account, but traders especially retail traders can use their own portfolio as collateral to meet margin requirements.