A method and apparatus for determining a strategy for medium- and long-term purchase and sale of electricity. The method comprises: obtaining a post-transaction position held, a post-transaction total position price, a total load expectation, a total risk electricity fee, and an expected electricity fee according to the known information of a target time period; and determining a purchase and sale strategy according to the total risk electricity fee and the expected electricity fee. The purchase and sale strategy with the lowest expected electricity fee is obtained by means of certain restrictions on the transaction volume of medium- and long-term contracts and the upper limit restrictions on risk electricity fees. The expected electricity fee is used as an optimized objective function, and comprehensive optimization is performed on the basis of diversified constraints to obtain the optimal electricity fee strategy with load constraints and risk controllable. According to own situations, the method can quickly and accurately evaluate a contract value, measure contract risk, and combine purchase and sale strategies, thereby improving the accuracy of evaluation, reducing purchase and sale transaction risks, and determining the optimal purchase and sale strategy.
展开▼