AbstractOne of the primary challenges faced by generation companies (GenCos), which operate multiple generation units within the electricity market, is the determination of the optimal bid price for these units to maximize profit. This paper proposes a novel approach to ascertain the optimal bid price direction for GenCos by leveraging the gradient vector of the profit function within the constraints of the electricity market. First, the Jacobian matrix of unit profits is computed using the electricity market structural decomposition method. This matrix highlights how the profit of generation units is affected by market input parameters, including the bid prices of the units. Then, the gradient vector of the GenCos' profit function and the optimal bid price direction are derived from the Jacobian matrix. The methodology is applied to a 24‐bus IEEE network, with results validated against those from a simulation method to confirm the efficacy of the proposed approach. The simulation results show that the highest and lowest profit changes with a step increase of 0.1$/MWh are observed for GenCo 4 and GenCo 6 with values of 60.28 and 2.20 $/h, respectively. The proposed approach can be effective in the changes of bid direction of the units of a GenCo to achieve the highest possible profit.