Three essays on the cost components of the bid-ask spread