Rethinking Macroeconomics with Endogenous Market Structure Par Marco Mazzoli, Matteo Morini, Pietro Terna