We build an infinite-horizon dynamic deterministic general equilibrium model with imperfect markets (because of borrowing constraints), in which heterogeneous agents invest in capital or/and financial asset, and consume. There is a representative firm who maximizes its profit. Firstly, the existence of intertemporal equilibrium is proved even if aggregate capital is not uniformly bounded. Secondly, we study the interaction between the financial market and the productive sector. We also explore the nature of physical capital bubble and financial asset bubble as well.