Online peer-to-peer (P2P) lending has surged amid a booming stock market, with an increasing number of investors borrowing against securities accounts through P2P platforms to fund stock investments.