The invention relates to a wind farm active power control method considering alternative trading of wind power and thermal powder, which is technically characterized by comprising the steps of 1, establishing a wind and thermal power alternation scheme model Mi; 2, setting a control mode of the model Mi, control parameters of an allocation algorithm, and output limit values of thermal power plantor a thermal power unit; 3, calculating power generation capacity delta pi vacated from the thermal power plant in the wind and thermal power alternation scheme model Mi; 4, allocating the power generation capacity delta pi, vacated from the thermal power plant in the wind and thermal power alternation scheme model Mi, to wind farms in the model Mi; 5, calculating active power control commands according to calculating results of a virtual load rate; 6, issuing the wind farm active power adjustment commands, acquired by calculating, to the wind farms for execution. The method herein has the advantages that the demand for alternative trading of wind power and thermal power can be responded to in real time, a most suitable control strategy is applied to wind farm reactive power, execution ofa wind and thermal power alternative trading plan is guaranteed for each wind farm, and fair scheduling among the wind farms is considered.