We present a network model of the interbank market in which optimizing risk averse banks lend to each other and invest in non-liquid assets. Market clearing takes place through a tâtonnement process which yields the equilibrium price, while traded quantities are determined by means of a...