Market Risk, Liquidity Risk and Transaction Costs