Essays in over-the-counter markets