Endogenous equilibria in liquid markets with frictions and boundedly rational agents