The invention relates to an electricity selling company retail market risk monitoring, prevention and control early warning method, and belongs to the technical field of electricity selling settlement risk monitoring. According to the method, the historical electricity consumption data of the users of the electricity selling company is automatically obtained, the random fractal intelligent search algorithm is used for performing hyper-parameter optimization on the deep learning model, then the monthly transaction capability of the electricity selling company is predicted based on the model, and an effective reference is provided for accurate control of the retail transaction prediction capability of the electricity selling company. Meanwhile, based on the predicted retail transaction capability, a current retail electricity market wholesale price difference calculation mode is considered, an adaptive refined day-by-day transaction risk grading early warning prevention and control mode is provided, linkage with electricity consumption values is carried out, corresponding early warning levels and early warning measures are automatically matched, an early warning reference is provided for risk management of power grid enterprises, and the risk management efficiency of the power grid enterprises is improved. Operation settlement risks of power grid companies can be effectively prevented and controlled, market operation efficiency is optimized, and stable and orderly development of multiple market subjects in the retail power market is guaranteed.