We develop an RBC model of the stock market with heterogenous firms. Shares value rests on the rent extracted from proprietary technology. Closed form solutions are provided for the value of each firm and for their aggregate, and for each share's beta, under weak assumptions on the shock...