between cash and bank credit lines. Banks create liquidity for firms by pooling their idiosyncratic risks. As a result, firms … with high aggregate risk find it costly to get credit lines and opt for cash in spite of higher opportunity costs and … liquidity premium. Likewise, in times when aggregate risk is high, firms rely more on cash than on credit lines. We verify these …