Improving Electricity Market Economy via Closed-Loop Predict-and-Optimize