Incentive-Driven Energy Trading in the Smart Grid