§ 752. Customer property

(a) The trustee shall distribute customer property ratably to customers on the basis and to the extent of such customers’ allowed net equity claims and in priority to all other claims, except claims of the kind specified in section 507 (a)(2) of this title that are attributable to the administration of such customer property.
(b)
(1) The trustee shall distribute customer property in excess of that distributed under subsection (a) of this section in accordance with section 726 of this title.
(2) Except as provided in section 510 of this title, if a customer is not paid the full amount of such customer’s allowed net equity claim from customer property, the unpaid portion of such claim is a claim entitled to distribution under section 726 of this title.
(c) Any cash or security remaining after the liquidation of a security interest created under a security agreement made by the debtor, excluding property excluded under section 741 (4)(B) of this title, shall be apportioned between the general estate and customer property in the same proportion as the general estate of the debtor and customer property were subject to such security interest.