Knight Capital Group Inc. received a $400 million cash infusion through the sale of convertible securities after trading losses spurred by a software failure drove the market maker to the brink of bankruptcy.