Those firms register with the SEC and become a member of an exchange, such as the PHLX, NAZ, ARCA, etc... By doing that there are specific guidelines for which they can legally operate with leverage, they follow the same rules for firms and specialists on the exchange floor for capital...