The paper deals with the problem of choosing the best O&M strategy for wind power plants. Current maintenance theory considers just production opportunities and minimizes the maintenance costs, but with the liberalization of the electricity market also the electricity price has become an important variable to take into account in the O&M scheduling. Another important variables that is often neglected by the existing maintenance theory is the weather condition. This paper proposes a new strategy that takes into account the electricity price and weather conditions, improves the expected profit of the systems, and reduce the overall maintenance and logistic costs. The maintenance schedule is formalized as an optimization problem where the discounted cumulative profit of a wind generation portfolio in a fixed-time horizon (e.g. two years ahead), subject to the technologically-derived maintenance time constraints is optimized. Both the theoretical and computational aspects of the proposed O&M strategy are discussed. Results show that taking into account market and weather opportunities in the design of the maintenance strategy, it is possible to achieve a more complete scheduling for a given set of wind power plants.