Liquidity providers can earn interest by providing funding to traders wanting to trade with leverage. Funding is traded on an order book at various rates and periods.