We analyze the optimal allocation of trades to portfolios when the cost associated with an allocation is proportional … to each portfolio's risk. Our investigation is motivated by changes in the over-the-counter derivatives markets, under … portfolios. A derivatives dealer faces risk-based collateral and capital costs for each portfolio, and it seeks to minimize total …