A bank's liquidity risk lays in the intersection of funding risk and market liquidity risk. We offer a mathematical framework to make Economic Capital and RAROC sensitive to illiquidity. We introduce the concept of a liquidity cost profile as a quantification of a bank's illiquidity at balance...